mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Fix review comments for #436
This commit is contained in:
parent
83f930abd6
commit
f7ee90cc8c
2 changed files with 2 additions and 2 deletions
2
fonts.js
2
fonts.js
|
@ -2253,7 +2253,7 @@ var Type2CFF = (function() {
|
|||
index = code = properties.glyphs[glyph] || index;
|
||||
|
||||
var width = widths[code] || defaultWidth;
|
||||
if (index <= 0x1f || (index >= 127 && code <= 255))
|
||||
if (code <= 0x1f || (code >= 127 && code <= 255))
|
||||
code += kCmapGlyphOffset;
|
||||
|
||||
properties.encoding[index] = code;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue