Fix rendering of fonts on Firefox + turn worker on again.
Seems like Gecko requires the fontName to start with a character, not a number.
This commit is contained in:
parent
7e3bbccaae
commit
89afa69395
2
pdf.js
2
pdf.js
@ -3423,7 +3423,7 @@ var Page = (function() {
|
||||
|
||||
var pe = this.pe = new PartialEvaluator();
|
||||
var IRQueue = {};
|
||||
return this.IRQueue = pe.getIRQueue(content, xref, resources, IRQueue, fonts, images, this.pageNumber + "_");
|
||||
return this.IRQueue = pe.getIRQueue(content, xref, resources, IRQueue, fonts, images, "p" + this.pageNumber + "_");
|
||||
},
|
||||
|
||||
ensureFonts: function(fonts, callback) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user