mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Address brendan's comments
This commit is contained in:
parent
dbccbaaa27
commit
27fe18e8c6
4 changed files with 28 additions and 41 deletions
|
@ -531,7 +531,7 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
|
|||
translated = this.translateFont(font, xref);
|
||||
} catch (e) {
|
||||
if (e instanceof MissingDataException) {
|
||||
font.loadedName = undefined;
|
||||
font.loadedName = null;
|
||||
throw e;
|
||||
}
|
||||
translated = new ErrorFont(e instanceof Error ? e.message : e);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue