679 Commits (451956c0b12857c44854bed598687d15ea03f2b3)

Author SHA1 Message Date
Jonas Jenwald 3170a4c40a Improve rendering of non-embedded NuptialScript font 9 years ago
Jonas Jenwald d3043167de Correctly detect more cases of non-embedded Arial Black fonts (issue 7835) 9 years ago
Jonas Jenwald 9dc6463933 Ignore reserved commands when parsing operands in `CFFParser_parseDict`, instead of just rejecting the entire font (bug 1308536) 9 years ago
Chas Emerick 85c52f1fd6 Fix getTextContent evaluation to only apply TJ horizontal offsets using numeric items/args 9 years ago
Tim van der Meij f85f3243b1 Choice widget annotations: unit and reference testing 9 years ago
Jonas Jenwald 54ee83eb12 Attempt to skip zero bytes at the end of Scan blocks when decoding JPEG images (issue 4090) 9 years ago
Jonas Jenwald 116ba19dd9 Respect the 'ColorTransform' entry in the image dictionary when decoding JPEG images (bug 956965, issue 6574) 9 years ago
Jonas Jenwald a22f0ae820 Only skip parsing a stream in `Parser_makeFilter` when we know for sure that it is empty (PR 6372 follow-up) 9 years ago
Jonas Jenwald 4d2de9b47e Add a reduced `load` test for issue 7665 9 years ago
Tim van der Meij 6100ab4b18 Text widget annotations: implement comb support 9 years ago
Jonas Jenwald 170871ab3d Prevent rendering `TextWidgetAnnotation`s in both the `core`/`display` layer (issue 7643) 9 years ago
Tim van der Meij adf0972ca5 Text widget annotations: improve unit and reference tests 9 years ago
Jonas Jenwald aadcbe98c8 Replace empty CharStrings with '.notdef' in `Type1Font_wrap` to prevent OTS from rejecting the font (bug 1252420) 9 years ago
Jonas Jenwald 356b321f6d Fallback to the `StandardEncoding` for Nonsymbolic fonts without `/Encoding` entry (issue 7580) 9 years ago
Jonas Jenwald 325f7afcca For embedded Type1 fonts without included `ToUnicode`/`Encoding` data, attempt to improve text selection by using the `builtInEncoding` to amend the `toUnicode` map (issue 6901, issue 7182, issue 7217, bug 917796, bug 1242142) 9 years ago
Jonas Jenwald ae2cc9119b Add a couple more, mostly `text`, reference tests for non-embedded symbolic fonts without included encoding information 9 years ago
Jonas Jenwald 0b75f63c03 Don't duplicate the first entry in the `charCodeToGlyphId` map for CIDFontType2 fonts with a `CIDToGIDMap` that already mapped the first entry to a non-zero `glyphId` (issue 7544) 9 years ago
Tim van der Meij e281ce7c73 Enable regression testing for interactive forms 9 years ago
Jonas Jenwald 44b75c01a1 Check that Type1C fonts does not actually contain OpenType font files (issue 7598) 9 years ago
Jeremy Press 1ceeb4d17b added text enhancement regression tests 9 years ago
Jonas Jenwald 3ac23200ba Add a reduced test-case for issue 7406 9 years ago
Jonas Jenwald 544d29f5cb Add a `recoveryMode` that suppresses errors from the `Parser`, and utilize it when searching for the main trailer in `XRef_indexObjects` (bug 1250079) 9 years ago
Jonas Jenwald 77c6ed5389 Attempt to ignore multiple identical Tf (setFont) commands in `PartialEvaluator_getTextContent` (issue 5808) 9 years ago
Jonas Jenwald 558a22cd02 Prevent errors when parsing Annotations with missing (or invalid) /Subtype entries (issue 7446) 9 years ago
Jonas Jenwald 4fe891c5e7 Add a reduced test-case for issue 7403 9 years ago
Jonas Jenwald 90d19de935 Catch errors and continue parsing in `parseCMap` (issue 7492) 9 years ago
Jonas Jenwald 64783c8b6e Don't map glyphs to the Lepcha Unicode block (issue 7426) 9 years ago
Jonas Jenwald bdd58ab1d2 Ignore .notdef in the `differences` array when building a fallback `toUnicode` map in `PartialEvaluator_buildToUnicode` (issue 5256) 9 years ago
Jonas Jenwald 7866109af9 Fallback to attempt to recover standard glyph names when amending the `charCodeToGlyphId` with entries from the `differences` array in `type1FontGlyphMapping` (issue 7439) 9 years ago
Jonas Jenwald 6a0b047bfa Add upper-case `I` as a possible space replacement fallback in `Font.spaceWidth` to improve text-selection (issue 7180) 9 years ago
Jonas Jenwald 6260fc09a3 Attempt to recover valid `format 3` FDSelect data from broken CFF fonts (bug 1146106) 9 years ago
Jonas Jenwald b02d560ae0 Fix errors in `setGState` in `PartialEvaluator_getTextContent` that prevents text-selection from working properly 9 years ago
Jonas Jenwald 98fe094d18 Let non-viewable Popup Annotations inherit the parent's Annotation Flags if the parent is viewable 9 years ago
Jonas Jenwald 7ddb0bc718 Attempt to combine text runs positioned with `setTextMatrix` 9 years ago
Jonas Jenwald 182d33800a Ignore 'endobj' commands inside of `ObjStm` streams (issue 5241, bug 898610, bug 1037816) 9 years ago
Jonas Jenwald c9b6de3b16 Prevent adding invalid values in `CFFDict_setByKey` (bug 1068432) 9 years ago
Jonas Jenwald 293901d7e5 Add a (linked) test-case for issue 3248 9 years ago
Jonas Jenwald e281ef15db Adjust incorrect first obj number of "free" xref entry in `XRef_readXRefTable` (issue 7229) 9 years ago
Jonas Jenwald 079b563e2d Ensure that the `params` parameter of the `PredictorStream` is a dictionary (issue 7200) 9 years ago
Yury Delendik 398e6acbc5 Stops bleeding of pattern edges for mesh. 9 years ago
Yury Delendik d76db416f4 Adds more SMask tests. 9 years ago
Jonas Jenwald 05cf709f8e Parse Type1 font files to determine the various `Length{n}` properties, instead of trusting the PDF file (issue 5686, issue 3928) 9 years ago
Jonas Jenwald 17aaa125df Keep track of the character to glyph mapping in font_renderer.js, to prevent errors when different characters point to the same glyph (issue 7101) 9 years ago
Jonas Jenwald 13d7a5070e Prevent failures in the Annotation code if the `Rect` array contains indirect objects (issue 7115) 9 years ago
Yury Delendik a505aa8e90 Disables issue6961 test. 9 years ago
Jonas Jenwald dfe9015a43 Convert `uniXXXX` glyph names to proper ones when building the `charCodeToGlyphId` map for TrueType fonts (bug 1132849, issue 6893, issue 6894) 9 years ago
Preetham Mysore be1e12dbcb Fix for descent calculation while reading font hhea headers 9 years ago
Brendan Dahl 6e1d131384 For CIDFontType2 use CID as glyph ID when missing CID to GID map. 9 years ago
Brendan Dahl ff87f3fb86 Only draw glyphs on canvas if they are in the font or the font file is missing. 9 years ago
Jonas Jenwald 505f15f221 Avoid accidentally getting the entire font file in `readNameTable` (issue 7020) 9 years ago