mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-29 15:47:57 +02:00
Merge with upstream
This commit is contained in:
parent
3cc9912acd
commit
6311977fee
2 changed files with 20 additions and 13 deletions
6
pdf.js
6
pdf.js
|
@ -3733,7 +3733,11 @@ var PartialEvaluator = (function() {
|
|||
var index = 0;
|
||||
for (var j = 0; j < differences.length; j++) {
|
||||
var data = differences[j];
|
||||
IsNum(data) ? index = data : encodingMap[index++] = data;
|
||||
if (subType.name == 'TrueType') {
|
||||
IsNum(data) ? index = data : encodingMap[index++] = j;
|
||||
} else {
|
||||
IsNum(data) ? index = data : encodingMap[index++] = GlyphsUnicode[data.name];
|
||||
}
|
||||
}
|
||||
|
||||
// Get the font charset if any
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue