1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Add missing .link files; minor fix

This commit is contained in:
notmasteryet 2012-03-17 23:22:42 -05:00
parent b2b78cfeb2
commit 73c9f8797b
3 changed files with 3 additions and 2 deletions

View file

@ -1997,9 +1997,8 @@ var Font = (function FontClosure() {
// Re-encode cmap encoding to unicode, based on the 'post' table data
// diffrence array or base encoding
var reverseMap = [];
for (var i = 0, ii = glyphs.length; i < ii; i++) {
for (var i = 0, ii = glyphs.length; i < ii; i++)
reverseMap[glyphs[i].unicode] = i;
}
var newGlyphUnicodes = [];
for (var i = 0, ii = glyphs.length; i < ii; i++) {