mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 18:25:37 +02:00
Do not add empty spaces anymore
This commit is contained in:
parent
d1d6621164
commit
a73ffc2d30
2 changed files with 91 additions and 94 deletions
|
@ -277,16 +277,17 @@ var Type2Parser = function(aFilePath) {
|
|||
// Read the NAME Index
|
||||
dump("Reading Index: Names");
|
||||
font.set("Names", readFontIndexData(aStream));
|
||||
log("Names: " + font.get("Names"));
|
||||
|
||||
// Read the Top Dict Index
|
||||
dump("Reading Index: TopDict");
|
||||
var topDict = readFontIndexData(aStream, true);
|
||||
log(topDict);
|
||||
log("TopDict: " + topDict);
|
||||
|
||||
// Read the String Index
|
||||
dump("Reading Index: Strings");
|
||||
var strings = readFontIndexData(aStream);
|
||||
log(strings);
|
||||
log("strings: " + strings);
|
||||
|
||||
// Fill up the Strings dictionary with the new unique strings
|
||||
for (var i = 0; i < strings.length; i++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue