mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
store unicode value as integer instead of hex string in glyphlist
This commit is contained in:
parent
695fe33601
commit
5625a667ff
2 changed files with 4204 additions and 4204 deletions
2
fonts.js
2
fonts.js
|
@ -40,7 +40,7 @@ var Fonts = {
|
|||
|
||||
unicodeFromCode: function fonts_unicodeFromCode(aCode) {
|
||||
var unicode = GlyphsUnicode[this.active.encoding[aCode]];
|
||||
return unicode ? "0x" + unicode : aCode;
|
||||
return unicode ? unicode : aCode;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue