1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

Clearing font checksum adjustment field

This commit is contained in:
notmasteryet 2011-07-10 16:47:09 -05:00
parent 1328a25ddd
commit 9b69997046

View file

@ -705,6 +705,9 @@ var Font = (function() {
var data = file.getBytes(length);
file.pos = previousPosition;
if (tag == 'head')
data[8] = data[9] = data[10] = data[11] = 0; // clearing checksum adjustment
return {
tag: tag,
checksum: checksum,