Excluding Type3 fonts from the check; removing dead code
This commit is contained in:
parent
5dc87a7fca
commit
3346c284ab
@ -344,12 +344,12 @@ var PDFPageProxy = (function PDFPageProxyClosure() {
|
||||
warn('Error during font loading: ' + obj.error);
|
||||
continue;
|
||||
}
|
||||
if (!obj.coded) {
|
||||
this.transport.embeddedFontsUsed = true;
|
||||
}
|
||||
fontObjs.push(obj);
|
||||
}
|
||||
|
||||
this.transport.embeddedFontsUsed = this.transport.embeddedFontsUsed ||
|
||||
fontObjs.length > 0;
|
||||
|
||||
// Load all the fonts
|
||||
FontLoader.bind(
|
||||
fontObjs,
|
||||
@ -452,7 +452,6 @@ var WorkerTransport = (function WorkerTransportClosure() {
|
||||
|
||||
this.pageCache = [];
|
||||
this.pagePromises = [];
|
||||
this.fontsLoading = {};
|
||||
this.embeddedFontsUsed = false;
|
||||
|
||||
// If worker support isn't disabled explicit and the browser has worker
|
||||
|
Loading…
x
Reference in New Issue
Block a user