|
|
|
@ -765,8 +765,10 @@ var Font = (function Font() {
@@ -765,8 +765,10 @@ var Font = (function Font() {
|
|
|
|
|
|
|
|
|
|
this.fontMatrix = properties.fontMatrix; |
|
|
|
|
this.widthMultiplier = 1.0; |
|
|
|
|
if (properties.type == 'Type3') |
|
|
|
|
if (properties.type == 'Type3') { |
|
|
|
|
this.encoding = properties.baseEncoding; |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Trying to fix encoding using glyph CIDSystemInfo.
|
|
|
|
|
this.loadCidToUnicode(properties); |
|
|
|
@ -2152,7 +2154,7 @@ var Font = (function Font() {
@@ -2152,7 +2154,7 @@ var Font = (function Font() {
|
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
charsToGlyphs: function fonts_chars2Glyphs(chars) { |
|
|
|
|
charsToGlyphs: function fonts_charsToGlyphs(chars) { |
|
|
|
|
var charsCache = this.charsCache; |
|
|
|
|
var glyphs; |
|
|
|
|
|
|
|
|
|