mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Merge pull request #11744 from janpe2/cff-glyph-zero
The first glyph in CFF CIDFonts must be named 0 instead of ".notdef"
This commit is contained in:
commit
475fa1f97f
5 changed files with 10 additions and 3 deletions
|
@ -803,7 +803,7 @@ var CFFParser = (function CFFParserClosure() {
|
|||
var bytes = this.bytes;
|
||||
var start = pos;
|
||||
var format = bytes[pos++];
|
||||
var charset = [".notdef"];
|
||||
const charset = [cid ? 0 : ".notdef"];
|
||||
var id, count, i;
|
||||
|
||||
// subtract 1 for the .notdef glyph
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue