mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Don’t skip glyph 0 in cmap.
This commit is contained in:
parent
c380d25407
commit
cdc79a4721
3 changed files with 6 additions and 3 deletions
|
@ -1474,9 +1474,6 @@ var Font = (function FontClosure() {
|
|||
glyphId = (offsetIndex < 0 ?
|
||||
j : offsets[offsetIndex + j - start]);
|
||||
glyphId = (glyphId + delta) & 0xFFFF;
|
||||
if (glyphId === 0) {
|
||||
continue;
|
||||
}
|
||||
mappings.push({
|
||||
charCode: j,
|
||||
glyphId: glyphId
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue