mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Fix gjslint errors.
This commit is contained in:
parent
25f6ad4ba6
commit
edd92c9db2
2 changed files with 3 additions and 2 deletions
2
pdf.js
2
pdf.js
|
@ -4399,7 +4399,7 @@ var PartialEvaluator = (function() {
|
|||
|
||||
var fontName = fontDict.get('Name');
|
||||
if (!fontName)
|
||||
fontName = xref.fetchIfRef(descriptor.get('FontName'));;
|
||||
fontName = xref.fetchIfRef(descriptor.get('FontName'));
|
||||
assertWellFormed(IsName(fontName), 'invalid font name');
|
||||
fontName = fontName.name.replace(/[\+,\-]/g, '_');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue