107 Commits (b4fb1e21e79f063d1638a05fe7b96f3055f2797a)

Author SHA1 Message Date
Yury Delendik a2c2f81167 Use cff glyph width in the hmtx table 11 years ago
Yury Delendik 0ad323f621 Adds width at the beginning of the Type2 charstring 11 years ago
Nicholas Nethercote 61e6b576d4 Avoid an allocation in readCharCode(). 11 years ago
Yury Delendik ab8270ae3a Fixes searchRange calculation 11 years ago
Yury Delendik 42771159ca Removes stringToArray 11 years ago
Yury Delendik 350556f085 Removes bytesToString/stringToArray conversions in the font.js 11 years ago
Nicholas Nethercote f82977caf9 Simplify isIdentityUnicode detection. 11 years ago
Nicholas Nethercote 6c8cca1284 Add IdentityToUnicodeMap class. 11 years ago
Nicholas Nethercote 9576047f0d Add ToUnicodeMap class. 11 years ago
Jonas Jenwald 8ecbb4da05 Adjust the heuristics to recognize more cases of unknown glyphs for |toUnicode| (issue 5070) 11 years ago
Jonas Jenwald b918df3547 Re-factor heuristics to recognize unknown glyphs for |toUnicode| 11 years ago
Jonas Jenwald 97b3eadbc4 Add strict equalities in src/core/fonts.js 11 years ago
Nicholas Nethercote adf58ed687 Represent cid chars using integers, not strings. 11 years ago
Nicholas Nethercote b86daed29d Make CMap.map quasi-private. 11 years ago
Jonas Jenwald c3c72948b9 Stop including cidmaps.js 11 years ago
Nicholas Nethercote 1039791472 Use Array.join to build up strings in readPostScriptTable(). 11 years ago
Nicholas Nethercote c7f02d2c8e Minimize memory usage of font-related arrays. 11 years ago
Jonas Jenwald f13c217b25 Fix another seac regression (issue 4801) 11 years ago
Jonas Jenwald a7c786775d [CIDFontType2] Map characters missing in toUnicode to the private use area (bug 1028735 and issue 4881) 11 years ago
Jonas Jenwald c5f4051a75 A few small optimizations of adjustMapping 11 years ago
Jonas Jenwald c121def806 A few small optimizations for CIDFontType2 fonts 11 years ago
Jonas Jenwald b19bb74813 Additional heuristics to recognize unknown glyphs for toUnicode (bug 1027533) 11 years ago
Yury Delendik 0cd28ebfa3 Telemetry for used stream and font types 11 years ago
Jonas Jenwald 158790981c Don't blindly trust toUnicode when building toFontChar for non-standard fonts without a font file (issue 4934) 11 years ago
Jonas Jenwald 3c5dedf60d Prevent font error when no preferred cmap table is found (workaround for issue 4800) 11 years ago
Yury Delendik e5a0d89da9 Refactors loadFont for translateFont be async; fixes type3 dup data 11 years ago
Jonas Jenwald 3e1db41ddd Fix loading of fonts with empty font files (bug 866395 and issue 3522) 11 years ago
Jonas Jenwald 0fa154be4e Amend GlyphMapForStandardFonts to fix issue 4276 11 years ago
Jonas Jenwald 747dec16b2 Prevent trying to map characters to the specials unicode block in adjustMapping (issue 4650) 11 years ago
Yury Delendik 98e023e464 Guesses Type1C font type based on file content 11 years ago
Yury Delendik 9a5c121e4d Fixes invalid CFF name for Mac OSX 11 years ago
Yury Delendik bf3a2488df Recognizes ascii type1 encoding 11 years ago
fkaelberer b06c10cbbd rename getUint32 to getInt32 and collect readInt*() in util.js 11 years ago
Rob Wu 2e97c0d085 Remove some unused variables from src/ 11 years ago
Yury Delendik 65fa25ca36 Fixes number of glyphs in the generated font 11 years ago
Brendan Dahl b242826d29 Fix seac regression. 11 years ago
Yury Delendik 88c1747cc3 Heuristics to recognize the unknown glyphs for toUnicode 11 years ago
Tim van der Meij df91acf239 Fixes lint warning W004 in src/core 11 years ago
Brendan Dahl 5bd8a83c9b Build the text layer geometry on the worker. 11 years ago
Christian Krebs 79f34b183c Treat fonts with the same font descriptor, encoding and unicode map as aliases 11 years ago
Jonas Jenwald 9e6c66be12 Handle 'space' character correctly in WinAnsiEncoding (bug 850854) 11 years ago
Jonas Jenwald 8fc4ebd5cb Handle 'space' character correctly in MacRomanEncoding (bug 878026) 11 years ago
fkaelberer c978c026fa clean up string conversion functions 11 years ago
Jonas Jenwald 66e243f506 Fix coding style in src/core/fonts.js 11 years ago
Jonas Jenwald 5f021b067c Prevent infinite loop in CFFParser_parseHeader 11 years ago
Yury Delendik 69efd9cb96 CMaps binary packing 11 years ago
Juraj Sukop 4c2a462a76 Fix copy-paste typo 11 years ago
Nicholas Nethercote 6c698519cd Avoid allocations in executeCommand(). 11 years ago
Nicholas Nethercote 6a75e45309 Allocate fewer objects when parsing 2 and 4 byte chunks. 11 years ago
Nicholas Nethercote 0866ad5bff Add a cache for glyphs. 11 years ago