summaryrefslogtreecommitdiff
path: root/print/ghostscript9-base/files/patch-Resource_Init_pdf__font.ps
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript9-base/files/patch-Resource_Init_pdf__font.ps')
-rw-r--r--print/ghostscript9-base/files/patch-Resource_Init_pdf__font.ps15
1 files changed, 15 insertions, 0 deletions
diff --git a/print/ghostscript9-base/files/patch-Resource_Init_pdf__font.ps b/print/ghostscript9-base/files/patch-Resource_Init_pdf__font.ps
new file mode 100644
index 000000000000..281b882ae3d6
--- /dev/null
+++ b/print/ghostscript9-base/files/patch-Resource_Init_pdf__font.ps
@@ -0,0 +1,15 @@
+--- 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>