opnsense-ports/print/ghostscript9-base/files/patch-Resource_Init_pdf__font.ps
Franco Fichtner 5460a9995f */*: sync with upstream
Taken from: FreeBSD
2016-06-18 07:03:58 +02:00

15 lines
559 B
PostScript

--- Resource/Init/pdf_font.ps.orig 2012-08-08 08:01:36 UTC
+++ Resource/Init/pdf_font.ps
@@ -1751,10 +1751,12 @@ currentdict /CMap_read_dict undef
/buildCIDType0 { % <CIDFontType0-font-resource> buildCIDType0 <font>
dup /BaseFont get findCIDFont exch pop
+ addCIDmetrics /CIDFont defineresource
} bdef
/buildCIDType2 { % <CIDFontType2-font-resource> buildCIDType2 <font>
dup /BaseFont get findCIDFont exch pop
+ addCIDmetrics /CIDFont defineresource
} bdef
/processCIDToGIDMap { % <fontres> <cidfont> processCIDToGIDMap <fontres> <cidfont>