Browse Source

Reland commit 442d184 but make it works with uncompressed PDF

Vivien Nicolas 14 years ago
parent
commit
d10cf7c929
  1. 2
      fonts.js

2
fonts.js

@ -624,6 +624,8 @@ var Font = (function () {
}; };
function replaceCMapTable(cmap, font, properties) { function replaceCMapTable(cmap, font, properties) {
font.pos = (font.start ? font.start : 0) + cmap.length;
var version = FontsUtils.bytesToInteger(font.getBytes(2)); var version = FontsUtils.bytesToInteger(font.getBytes(2));
var numTables = FontsUtils.bytesToInteger(font.getBytes(2)); var numTables = FontsUtils.bytesToInteger(font.getBytes(2));

Loading…
Cancel
Save