summaryrefslogtreecommitdiff
path: root/print/ghostscript9-agpl-base/files/patch-Resource-Init-pdf_font.ps
blob: 57342870bd4112bba46b889481d288dc9b95c816 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- Resource/Init/pdf_font.ps.orig	2022-04-04 13:48:49 UTC
+++ Resource/Init/pdf_font.ps
@@ -2231,10 +2231,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>