From 1a6c61cff43373fd047f3945c170316bf1eb2476 Mon Sep 17 00:00:00 2001 From: wl Date: Sun, 10 Feb 2013 08:41:08 +0000 Subject: * src/devices/grops/ps.h (resource_type): Add RESOURCE_FONTSET. --- src/devices/grops/ps.h | 6 ++++-- src/devices/grops/psrm.cpp | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/devices/grops/ps.h b/src/devices/grops/ps.h index 85a06fec..9e592ae1 100644 --- a/src/devices/grops/ps.h +++ b/src/devices/grops/ps.h @@ -1,5 +1,5 @@ // -*- C++ -*- -/* Copyright (C) 1989, 1990, 1991, 1992, 2002, 2003, 2009 +/* Copyright (C) 1989-1992, 2002, 2003, 2009, 2013 Free Software Foundation, Inc. Written by James Clark (jjc@jclark.com) @@ -53,14 +53,16 @@ inline FILE *ps_output::get_file() return fp; } +// this must stay in sync with `resource_table' in `psrm.cpp' enum resource_type { RESOURCE_FONT, + RESOURCE_FONTSET, RESOURCE_PROCSET, RESOURCE_FILE, RESOURCE_ENCODING, RESOURCE_FORM, RESOURCE_PATTERN - }; +}; struct resource; diff --git a/src/devices/grops/psrm.cpp b/src/devices/grops/psrm.cpp index 52c62422..a3787cb0 100644 --- a/src/devices/grops/psrm.cpp +++ b/src/devices/grops/psrm.cpp @@ -86,6 +86,7 @@ const char *extension_table[] = { const int NEXTENSIONS = sizeof(extension_table)/sizeof(extension_table[0]); +// this must stay in sync with `resource_type' in `ps.h' const char *resource_table[] = { "font", "fontset", -- cgit v1.2.1