150 Commits (c205b809a577fbc114b2f5cb422a4ab5f5caa98d)

Author SHA1 Message Date
Jonas Jenwald 6f2f0700b7 Don't map glyphs to certain problematic Thai/Lao Unicode locations (issue 5994) 10 years ago
Jonas Jenwald 6fbc5428bd Skip mapping of CIDFontType2 glyphs in fonts with a |IdentityToUnicodeMap|, unless |properties.widths| is defined for the glyph 10 years ago
Jonas Jenwald 0365baf5ab Fall back to the |defaultEncoding| when no valid "post" table is found in TrueType fonts (bug 1050040) 10 years ago
Jonas Jenwald 70b839386a Ensure that the cmap position is within the bounds of the font file in |readCmapTable| 10 years ago
Jonas Jenwald fda858ae33 Don't map glyphs to certain problematic General Punctuation Unicode locations (bug 911034) 10 years ago
Jonas Jenwald a54ec673c5 Move the checks for problematic Unicode locations from |adjustMapping| to a separate helper function 10 years ago
Levi Melamed a5159a7942 extract more accurate glpyh heights from type-3 fonts 10 years ago
Jonas Jenwald 2b1a13ba28 Don't map glyphs to Unicode position 0x0E33, i.e. Thai character SARA AM (bug1046314) 10 years ago
Jonas Jenwald e894a0a4c6 Guess CIDFontType0 subtype based on font file contents (issue 5751) 10 years ago
Jonas Jenwald f81fc9091a Correctly detect OpenType font files with CFF data 10 years ago
Jonas Jenwald 0a3341dadc Don't map glyphs to Unicode "Dotted circle" combining mark (bug 1108301) 10 years ago
Jonas Jenwald 417800a1b5 Only skip the |!isSymbolicFont| check for TrueType (3, 1) cmap tables if no previous cmap table was found (PR 5703 followup) 10 years ago
Jonas Jenwald 592890a758 Relax the |isSymbolicFont| check for TrueType (3, 1) cmap tables (issue 5701) 10 years ago
Jonas Jenwald f19a1db414 Create a IdentityToUnicodeMap in evaluator.js when toUnicode contains IdentityH/IdentityV 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