diff --git a/fonts.js b/fonts.js index 2d7ff94f5..3101a2c68 100755 --- a/fonts.js +++ b/fonts.js @@ -1891,7 +1891,8 @@ CFF.prototype = { return null; }, - getOrderedCharStrings: function cff_getOrderedCharStrings(glyphs, properties) { + getOrderedCharStrings: function cff_getOrderedCharStrings(glyphs, + properties) { var charstrings = []; var missings = []; diff --git a/pdf.js b/pdf.js index e7095b692..12aa9ca4c 100644 --- a/pdf.js +++ b/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, '_');