Add support for brackets around the header emails
This commit is contained in:
parent
0ebd3cdf93
commit
e21d7b3000
12
PDFFont.js
12
PDFFont.js
@ -38,10 +38,14 @@ var Fonts = {
|
|||||||
this._active = this[aFontName];
|
this._active = this[aFontName];
|
||||||
},
|
},
|
||||||
|
|
||||||
getUnicodeFor: function fonts_getUnicodeFor(aCode) {
|
unicodeFromCode: function fonts_unicodeFromCode(aCode) {
|
||||||
var glyph = this._active.encoding[aCode];
|
var active = this._active;
|
||||||
var unicode = "0x" + GlyphsUnicode[glyph];
|
if (!active)
|
||||||
return unicode || aCode;
|
return aCode;
|
||||||
|
|
||||||
|
var difference = active.encoding[aCode];
|
||||||
|
var unicode = GlyphsUnicode[difference];
|
||||||
|
return unicode ? "0x" + unicode : aCode;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user