1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

Only skip the |!isSymbolicFont| check for TrueType (3, 1) cmap tables if no previous cmap table was found (PR 5703 followup)

Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=894572.
This commit is contained in:
Jonas Jenwald 2015-02-19 13:58:03 +01:00
parent 6bb0a483b1
commit 417800a1b5
4 changed files with 10 additions and 1 deletions

View file

@ -3184,7 +3184,8 @@ var Font = (function FontClosure() {
useTable = true;
// Continue the loop since there still may be a higher priority
// table.
} else if (platformId === 3 && encodingId === 1) {
} else if (platformId === 3 && encodingId === 1 &&
(!isSymbolicFont || !potentialTable)) {
useTable = true;
if (!isSymbolicFont) {
canBreak = true;