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:
parent
2519e4f53b
commit
650ed04a70
2 changed files with 105 additions and 347 deletions
4
test.js
4
test.js
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue