1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

Fix a small mistake for cmap format 0

This commit is contained in:
Vivien Nicolas 2011-09-10 20:02:42 +02:00
parent cf93f23178
commit ac163da4c8

View file

@ -934,7 +934,9 @@ var Font = (function Font() {
deltas.push(index);
var unicode = j + kCmapGlyphOffset;
encoding[j].unicode = unicode;
var mapping = encoding[j] || {};
mapping.unicode = unicode;
encoding[j] = mapping;
glyphs.push({ unicode: unicode });
}
}