File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -5577,7 +5577,14 @@ var CFFParser = (function CFFParserClosure() {
5577
5577
}
5578
5578
5579
5579
var fontDict = cff .fdArray [0 ];
5580
+ // Make the sanitizer happy and remove anything that is only for CID
5581
+ // fonts.
5580
5582
fontDict .setByKey (17 , topDict .getByName ('CharStrings' ));
5583
+ fontDict .removeByName ('CIDFontVersion' );
5584
+ fontDict .removeByName ('CIDFontRevision' );
5585
+ fontDict .removeByName ('CIDFontType' );
5586
+ fontDict .removeByName ('CIDCount' );
5587
+ fontDict .removeByName ('UIDBase' );
5581
5588
cff .topDict = fontDict ;
5582
5589
cff .isCIDFont = false ;
5583
5590
delete cff .fdArray ;
Original file line number Diff line number Diff line change 769
769
"md5" : " 9f11e815b485f7f0e1fa5c116c636cf9" ,
770
770
"rounds" : 1 ,
771
771
"type" : " eq"
772
+ },
773
+ { "id" : " cid_cff" ,
774
+ "file" : " pdfs/cid_cff.pdf" ,
775
+ "md5" : " a19a18eaa626262cc45e0760004d6de9" ,
776
+ "rounds" : 1 ,
777
+ "type" : " eq"
772
778
}
773
779
]
You can’t perform that action at this time.
0 commit comments