1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

Get rid of the PostScript interpreter (part 1)

This commit is contained in:
Vivien Nicolas 2011-06-15 23:02:30 +02:00
parent 2519e4f53b
commit 650ed04a70
2 changed files with 105 additions and 347 deletions

View file

@ -119,8 +119,10 @@ function displayPage(num) {
}
}
var fontBBox = descriptor.get("FontBBox");
var subtype = fontDict.get("Subtype").name;
new Font(fontName, fontFile, encodingMap, charset, subtype);
new Font(fontName, fontFile, encodingMap, charset, fontBBox, subtype);
return fontsReady = false;
} else if (font.loading) {
return fontsReady = false;