summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gs/Resource/Init/pdf_font.ps5
1 files changed, 4 insertions, 1 deletions
diff --git a/gs/Resource/Init/pdf_font.ps b/gs/Resource/Init/pdf_font.ps
index 4c32031ac..1cbfe88c6 100644
--- a/gs/Resource/Init/pdf_font.ps
+++ b/gs/Resource/Init/pdf_font.ps
@@ -754,7 +754,10 @@ setglobal
754 exch 754 exch
755 % Analyzes font name and extract "Bold" and "Narrow" properties 755 % Analyzes font name and extract "Bold" and "Narrow" properties
756 % which are not described by the FontDescriptor Flags. 756 % which are not described by the FontDescriptor Flags.
757 0 2 index .fontnameproperties 6 and or 757 % We also allow the font name analysis to override the Flags setting
758 % for Italic/Oblique as this gives us results more consistent with
759 % Acrobat.
760 0 2 index .fontnameproperties 7 and or
758 % Rebind the default font name to Helvetica so that 761 % Rebind the default font name to Helvetica so that
759 % fonts with no properties are handled correctly. 762 % fonts with no properties are handled correctly.
760 //.pdfdfndict begin .substitutefontname end 763 //.pdfdfndict begin .substitutefontname end