132 Commits (6bb0a483b1e09ad40b56339f03ab28ed50a1e64d)

Author SHA1 Message Date
Jonas Jenwald 592890a758 Relax the |isSymbolicFont| check for TrueType (3, 1) cmap tables (issue 5701) 10 years ago
Jonas Jenwald 01e6565dd4 Try to skip mapping of missing TrueType glyphs 10 years ago
Jonas Jenwald 8174da61fb Don't skip mapping of glyphs for CIDFontType2 fonts with a CIDToGIDMap 10 years ago
Brendan Dahl cb27707277 Try to skip mapping of missing glyphs. 10 years ago
Jonas Jenwald c2c54257f2 Prevent setting |isStandardFont| to |undefined| for non-embedded fonts 10 years ago
Jonas Jenwald ad41a2d574 Add support for TrueType (0, 0) cmap tables (issue 5501 and 5574) 10 years ago
Jonas Jenwald d8b905048b Add fallback for non-embedded "Century Gothic" CIDFontType2 font (issue 4722 and bug 879561) 10 years ago
Jonas Jenwald 96a77e9d6a Add basic support for non-embedded Wingdings fonts 11 years ago
Brendan Dahl 8a536ac346 Map missing glyphs in encoding to notdef glyph. 11 years ago
Brendan Dahl 2fc5e6a9ad Don't map glyphs to unicode non breaking space. 11 years ago
Jonas Jenwald df2a4afd36 Use |toUnicode| when creating the glyph map for standard CIDFontType2 fonts without embedded font file 11 years ago
Jonas Jenwald 3c759e296a Add support for MMType1 fonts with embedded font files 11 years ago
Jonas Jenwald b16c973d9d Fix Symbol fonts without font file but with Encoding dictionary (issue 5238) 11 years ago
Jonas Jenwald 7b3f222787 Add |SpecialPUASymbols| map and refactor |mapSpecialUnicodeValues| 11 years ago
Jonas Jenwald 2d5596172c Add more cases to |mapSpecialUnicodeValues| to fix the rendering of various Symbol encoded brackets 11 years ago
Jonas Jenwald 4bda6ba1b8 Add basic support for ZapfDingbats 11 years ago
Jonas Jenwald be595d0721 Further amend GlyphMapForStandardFonts (issue 5244) 11 years ago
Jonas Jenwald cc8710acbf Workaround for TrueType fonts with exotic cmap tables (bug 1057544) 11 years ago
Jonas Jenwald ae896fc071 Avoid creating intermediate strings in sanitizeMetrics 11 years ago
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