Fix gjslint errors.
This commit is contained in:
parent
25f6ad4ba6
commit
edd92c9db2
3
fonts.js
3
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 = [];
|
||||
|
||||
|
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…
Reference in New Issue
Block a user