summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRay Johnston <ray.johnston@artifex.com>2021-01-07 17:32:12 -0800
committerRay Johnston <ray.johnston@artifex.com>2021-01-07 18:37:51 -0800
commit34ec1a4deb5275280184346ef877e6984da59da8 (patch)
tree20a2f9f442a575874e6c798ed8013d25fb1f3954 /lib
parentead8676f2b8686605b8f6976da4de677d99d39e0 (diff)
downloadghostpdl-34ec1a4deb5275280184346ef877e6984da59da8.tar.gz
Fix pdf_info.ps "write-doc-string" to handle names as well as strings.
Diffstat (limited to 'lib')
-rw-r--r--lib/pdf_info.ps3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pdf_info.ps b/lib/pdf_info.ps
index 9c940ed07..b69a15c34 100644
--- a/lib/pdf_info.ps
+++ b/lib/pdf_info.ps
@@ -110,7 +110,7 @@ cleartomark % discard the dict from --where--
% Convert a doc string from PDFDocEncoding or UTF-16BE to UTF-8
% and write it to standard output.
/write-doc-string { % (string) -> -
- <feff> anchorsearch {
+ 1024 string cvs <feff> anchorsearch {
pop
0 exch % hi16 (str)
0 2 2 index length 2 sub {
@@ -268,6 +268,7 @@ cleartomark % discard the dict from --where--
] def
/res-type-dict 10 dict begin
+
/Font {
{
exch pop oforce_no_circular