Reland commit 442d184 but make it works with uncompressed PDF
This commit is contained in:
parent
704559f527
commit
d10cf7c929
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…
x
Reference in New Issue
Block a user