summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--src/devices/grops/ps.h6
-rw-r--r--src/devices/grops/psrm.cpp1
3 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index e01e440f..65df084a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,7 +2,7 @@
[grops] Make binary `%%BeginData' work; support `fontset' resource.
- *src/devices/grops/psrm.cpp (resource_table): Add `fontset'.
+ * src/devices/grops/psrm.cpp (resource_table): Add `fontset'.
(resource_manager::read_resource_arg): Do a case insensitive
comparison. The PostScript Reference Manual gives the following
@@ -36,6 +36,8 @@
(resource_manager::do_begin_data): Fix typo (present since the
beginning) which prevented correct handling of binary data.
+ * src/devices/grops/ps.h (resource_type): Add RESOURCE_FONTSET.
+
2013-02-10 Bernd Warken <groff-bernd.warken-72@web.de>
* contrib/lilypond: New files for adding lilypond parts into groff
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",