Rework some code to enhance performance (CIIM6/CIIM9 are rejected by the sanitizer now)
This commit is contained in:
parent
675b2f0471
commit
eb6f7499dc
2 changed files with 142 additions and 199 deletions
|
@ -310,7 +310,8 @@ var Type2Parser = function(aFilePath) {
|
|||
// Read the Global Subr Index that comes just after the Strings Index
|
||||
// (cf. "The Compact Font Format Specification" Chapter 16)
|
||||
dump("Reading Global Subr Index");
|
||||
var subrs = readFontIndexData(aStream);
|
||||
var subrs = readFontIndexData(aStream, true);
|
||||
dump(subrs);
|
||||
|
||||
// Reading Private Dict
|
||||
var private = font.get("Private");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue