1
0
Fork 0
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:
notmasteryet 2011-12-11 17:59:19 -06:00
parent 3b72c6063c
commit 94cc2cdb75
2 changed files with 60 additions and 18 deletions

View file

@ -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