mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Merge pull request #5703 from Snuffleupagus/issue-5701
Relax the |isSymbolicFont| check for TrueType (3, 1) cmap tables (issue 5701)
This commit is contained in:
commit
6bb0a483b1
4 changed files with 12 additions and 2 deletions
|
@ -3184,9 +3184,11 @@ var Font = (function FontClosure() {
|
|||
useTable = true;
|
||||
// Continue the loop since there still may be a higher priority
|
||||
// table.
|
||||
} else if (!isSymbolicFont && platformId === 3 && encodingId === 1) {
|
||||
} else if (platformId === 3 && encodingId === 1) {
|
||||
useTable = true;
|
||||
canBreak = true;
|
||||
if (!isSymbolicFont) {
|
||||
canBreak = true;
|
||||
}
|
||||
} else if (isSymbolicFont && platformId === 3 && encodingId === 0) {
|
||||
useTable = true;
|
||||
canBreak = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue