mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
CMaps binary packing
This commit is contained in:
parent
e5cd75083f
commit
69efd9cb96
13 changed files with 1156 additions and 35 deletions
|
@ -4223,7 +4223,8 @@ var Font = (function FontClosure() {
|
|||
var ucs2CMapName = new Name(registry + '-' + ordering + '-UCS2');
|
||||
// d) Obtain the CMap with the name constructed in step (c) (available
|
||||
// from the ASN Web site; see the Bibliography).
|
||||
var ucs2CMap = CMapFactory.create(ucs2CMapName, PDFJS.cMapUrl, null);
|
||||
var ucs2CMap = CMapFactory.create(ucs2CMapName,
|
||||
{ url: PDFJS.cMapUrl, packed: PDFJS.cMapPacked }, null);
|
||||
var cMap = properties.cMap;
|
||||
var toUnicode = [];
|
||||
for (var charcode in cMap.map) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue