1
0
Fork 0
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:
Kalervo Kujala 2011-08-26 23:55:14 +03:00
parent 25f6ad4ba6
commit edd92c9db2
2 changed files with 3 additions and 2 deletions

2
pdf.js
View file

@ -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, '_');