mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Fix merge with symbol font fix
This commit is contained in:
parent
a8cdbcf315
commit
7cad586e63
1 changed files with 2 additions and 1 deletions
|
@ -1957,9 +1957,10 @@ var Font = (function FontClosure() {
|
|||
// Moving all symbolic font glyphs into 0xF000 - 0xF0FF range.
|
||||
if (this.isSymbolicFont) {
|
||||
for (var i = 0, ii = glyphs.length; i < ii; i++) {
|
||||
var cid = i + 1;
|
||||
var code = glyphs[i].unicode;
|
||||
code = kSymbolicFontGlyphOffset | (code & 0xFF);
|
||||
glyphs[i].unicode = toFontChar[i] = code;
|
||||
glyphs[i].unicode = toFontChar[cid] = code;
|
||||
}
|
||||
this.useToFontChar = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue