mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Char code to unicode conversion
This commit is contained in:
parent
3b72c6063c
commit
94cc2cdb75
2 changed files with 60 additions and 18 deletions
|
@ -505,11 +505,11 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
|
|||
var items = args[0];
|
||||
for (var j = 0, jj = items.length; j < jj; j++) {
|
||||
if (typeof items[j] === 'string')
|
||||
text += items[j];
|
||||
text += fontCharsToUnicode(items[j], font.translated.properties);
|
||||
}
|
||||
break;
|
||||
case 'Tj':
|
||||
text += args[0];
|
||||
text += fontCharsToUnicode(args[0], font.translated.properties);;
|
||||
break;
|
||||
} // switch
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue