mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Merge pull request #8071 from Snuffleupagus/bug-1337429
Always choose a (3, 1) cmap table for TrueType fonts that have an encoding specified, regardless of the Symbolic font flag (bug 1337429)
This commit is contained in:
commit
425ad30912
4 changed files with 112 additions and 1 deletions
|
@ -1434,7 +1434,7 @@ var Font = (function FontClosure() {
|
|||
// Continue the loop since there still may be a higher priority
|
||||
// table.
|
||||
} else if (platformId === 3 && encodingId === 1 &&
|
||||
((!isSymbolicFont && hasEncoding) || !potentialTable)) {
|
||||
(hasEncoding || !potentialTable)) {
|
||||
useTable = true;
|
||||
if (!isSymbolicFont) {
|
||||
canBreak = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue