mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Fix wrong spacing for format 6
This commit is contained in:
parent
a89e7331f4
commit
841fabd4e9
1 changed files with 1 additions and 1 deletions
2
fonts.js
2
fonts.js
|
@ -1033,7 +1033,7 @@ var Font = (function Font() {
|
|||
var index = firstCode;
|
||||
for (var j = start; j <= end; j++) {
|
||||
var code = j - firstCode - 1;
|
||||
var mapping = encoding[index + 1] || {};
|
||||
var mapping = encoding[index] || {};
|
||||
mapping.unicode = glyphs[code].unicode;
|
||||
encoding[index++] = mapping;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue