summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorwl <wl>2013-02-10 08:41:08 +0000
committerwl <wl>2013-02-10 08:41:08 +0000
commit1a6c61cff43373fd047f3945c170316bf1eb2476 (patch)
tree6f78df218bf0bf68f02c2c95eaf5564fe0f6e656 /src
parent5c36fcafe5d2e65f0cc16b60d03b56925af9c4b7 (diff)
downloadgroff-1a6c61cff43373fd047f3945c170316bf1eb2476.tar.gz
* src/devices/grops/ps.h (resource_type): Add RESOURCE_FONTSET.
Diffstat (limited to 'src')
-rw-r--r--src/devices/grops/ps.h6
-rw-r--r--src/devices/grops/psrm.cpp1
2 files changed, 5 insertions, 2 deletions
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",