Browse Source

Merge pull request #247 from notmasteryet/tt-head-issue

Clearing font checksum adjustment field
Andreas Gal 14 years ago
parent
commit
f936c30e08
  1. 3
      fonts.js

3
fonts.js

@ -705,6 +705,9 @@ var Font = (function() { @@ -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,

Loading…
Cancel
Save