mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 07:08:08 +02:00
Merge pull request #107 from ironymark/master
Fix to replaceCMapTable r=gal
This commit is contained in:
commit
442d184781
1 changed files with 1 additions and 0 deletions
1
fonts.js
1
fonts.js
|
@ -425,6 +425,7 @@ var Font = (function () {
|
||||||
};
|
};
|
||||||
|
|
||||||
function replaceCMapTable(cmap, font, properties) {
|
function replaceCMapTable(cmap, font, properties) {
|
||||||
|
font.pos = 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…
Add table
Add a link
Reference in a new issue