freebsd-ports/print/ghostscript9-agpl-base/files/patch-Resource-Init-pdf_font.ps
Hiroki Sato 184963d6ed - Update to 9.51.
- Re-add non-standard paper sizes and Asian font configurations.
- Add workaround for some old font files to gs_ttf.ps and pdf_font.ps.
2020-03-14 13:33:24 +00:00

15 lines
591 B
PostScript

--- Resource/Init/pdf_font.ps.orig 2020-03-12 12:26:37 UTC
+++ Resource/Init/pdf_font.ps
@@ -2180,10 +2180,12 @@ currentdict /CMap_read_dict undef
/buildCIDType0 { % <CIDFontType0-font-resource> buildCIDType0 <font>
dup /BaseFont get findCIDFont exch pop
+ addCIDmetrics /CIDFont defineresource
} bind executeonly def
/buildCIDType2 { % <CIDFontType2-font-resource> buildCIDType2 <font>
dup /BaseFont get findCIDFont exch pop
+ addCIDmetrics /CIDFont defineresource
} bind executeonly def
/processCIDToGIDMap { % <fontres> <cidfont> processCIDToGIDMap <fontres> <cidfont>