|
|
@ -434,7 +434,7 @@ var Font = (function Font() { |
|
|
|
|
|
|
|
|
|
|
|
// Use 'name' instead of 'fontName' here because the original
|
|
|
|
// Use 'name' instead of 'fontName' here because the original
|
|
|
|
// name ArialBlack for example will be replaced by Helvetica.
|
|
|
|
// name ArialBlack for example will be replaced by Helvetica.
|
|
|
|
this.black = (name.search(/Black/g) != -1) |
|
|
|
this.black = (name.search(/Black/g) != -1); |
|
|
|
|
|
|
|
|
|
|
|
this.loadedName = fontName.split('-')[0]; |
|
|
|
this.loadedName = fontName.split('-')[0]; |
|
|
|
this.loading = false; |
|
|
|
this.loading = false; |
|
|
@ -1807,7 +1807,8 @@ var Type1Parser = function() { |
|
|
|
if ('undefined' == typeof(properties.differences[index])) { |
|
|
|
if ('undefined' == typeof(properties.differences[index])) { |
|
|
|
var mapping = properties.encoding[index] || {}; |
|
|
|
var mapping = properties.encoding[index] || {}; |
|
|
|
mapping.unicode = GlyphsUnicode[glyph] || index; |
|
|
|
mapping.unicode = GlyphsUnicode[glyph] || index; |
|
|
|
properties.glyphs[glyph] = properties.encoding[index] = mapping; |
|
|
|
properties.glyphs[glyph] = properties.encoding[index] = |
|
|
|
|
|
|
|
mapping; |
|
|
|
} |
|
|
|
} |
|
|
|
getToken(); // read the in 'put'
|
|
|
|
getToken(); // read the in 'put'
|
|
|
|
} |
|
|
|
} |
|
|
|