28 Commits (b66b705ed7125fa008e3f067b2d3fd8ee11170b2)

Author SHA1 Message Date
Jonas Jenwald 4ce5e520fb Add different code-paths to `{CMap, ToUnicodeMap}.charCodeOf` depending on length, since `Array.prototype.indexOf` can be extremely inefficient for very large arrays (issue 8372) 8 years ago
Jonas Jenwald afc74b0178 Enable the `object-shorthand` ESLint rule in `src/shared` 8 years ago
Jonas Jenwald 437104969d Improve the error handling when loading of built-in CMap files fail (PR 8064 follow-up) 8 years ago
Jonas Jenwald 769c1450b7 [api-minor] Refactor fetching of built-in CMaps to utilize a factory on the `display` side instead, to allow users of the API to provide a custom CMap loading factory (e.g. for use with Node.js) 8 years ago
Jonas Jenwald 50c2856097 Move `EOF`/`isEOF` from core/parser.js to core/primitives.js 8 years ago
Jonas Jenwald 90d19de935 Catch errors and continue parsing in `parseCMap` (issue 7492) 9 years ago
Yury Delendik bda5e6235e Removes global PDFJS usage from the src/core/. 9 years ago
Manas f6d28ca323 Refactors CMapFactory.create to make it async 9 years ago
Yury Delendik 6b60c8f4db Adds UMD headers to core, display and shared files. 9 years ago
Manas a2ba1b8189 Uses editorconfig to maintain consistent coding styles 10 years ago
Jonas Jenwald 8d831449ab Right-size the `map` array in PartialEvaluator_readToUnicode 10 years ago
Jonas Jenwald 7c7d05e7a3 Attempt to infer if a CMap file actually contains just a standard `Identity-H`/`Identity-V` map 10 years ago
Jonas Jenwald 9ef0d0b878 Fix the error handling for CMaps that fail to load 11 years ago
Nicholas Nethercote 61e6b576d4 Avoid an allocation in readCharCode(). 11 years ago
Yury Delendik 682b93ac9e Fixes lint errors 11 years ago
Nicholas Nethercote 51055e5836 Make IdentityCMaps more compact. 11 years ago
Nicholas Nethercote adf58ed687 Represent cid chars using integers, not strings. 11 years ago
Nicholas Nethercote 28687bca75 Optimize CMap.prototype.forEach(). 11 years ago
Nicholas Nethercote b86daed29d Make CMap.map quasi-private. 11 years ago
Nicholas Nethercote 501446ccc4 Optimize common cases in hexToStr(). 11 years ago
Jonas Jenwald 04975acceb Prevent CMapFactory.create from failing by passing the necessary parameters from PartialEvaluator_readToUnicode (issue 5010) 11 years ago
Jonas Jenwald d1c71ab7ad Prevent adding undefined array entries to CMap.map in mapRangeToArray (issue 4875) 11 years ago
Tim van der Meij df91acf239 Fixes lint warning W004 in src/core 11 years ago
Yury Delendik 69efd9cb96 CMaps binary packing 11 years ago
Brendan Dahl b5b94a4af3 Use built in CMaps and unify the glyph mapping. 11 years ago
Brendan Dahl f32e65b19f Read multi-byte character codes based on codespace ranges. 12 years ago