1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

Fixes CFF test and CFF int16 parsing

This commit is contained in:
Yury Delendik 2012-08-29 12:58:12 -05:00
parent 93f9efde39
commit e32ecc44d3
2 changed files with 2 additions and 2 deletions

View file

@ -4500,7 +4500,7 @@ var CFFParser = (function CFFParserClosure() {
return parseFloatOperand(pos);
} else if (value === 28) {
value = dict[pos++];
value = (value << 8) | dict[pos++];
value = ((value << 24) | (dict[pos++] << 16)) >> 16;
return value;
} else if (value === 29) {
value = dict[pos++];