summaryrefslogtreecommitdiff
path: root/print/ghostscript9-agpl-base/files/patch-Resource_Init_pdf__font.ps
blob: 7ef0135da2ef0687c7907693a4c554842a191615 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- Resource/Init/pdf_font.ps.orig	2015-03-30 08:21:24 UTC
+++ Resource/Init/pdf_font.ps
@@ -1835,10 +1835,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>