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

Fix lint errors and add metrics.js and charsets.js to the default set of pdf files in the Makefile

This commit is contained in:
Vivien Nicolas 2011-09-20 04:26:37 +02:00
parent 06a3b49e49
commit f3c20150bd
3 changed files with 95 additions and 93 deletions

View file

@ -2586,7 +2586,7 @@ var Type2CFF = (function() {
switch (format) {
case 0:
for (var i = 0; i < length; i++) {
var sid = (bytes[pos++] << 8) | bytes[pos++];
var sid = (bytes[pos++] << 8) | bytes[pos++];
charset.push(strings[sid]);
}
break;
@ -2818,7 +2818,7 @@ var Type2CFF = (function() {
start: start,
end: end,
data: bytes.subarray(start, end)
}
};
},
length: count,
endPos: end