371 Commits (4b903791377895f02728fe861cf629036d18db46)

Author SHA1 Message Date
Jonas Jenwald 83e8398ff2 For non-embedded fonts, map softhyphen (0x00AD) to regular hyphen (0x002D) (issue 9084) 8 years ago
Brendan Dahl 17037b5e51 Overwrite glyphs contour count if it's less than -1. 8 years ago
Brendan Dahl 6b12612a52 Sanitize name index in compile phase of CFF. 8 years ago
Brendan Dahl fcc9943d04 Use charstring as plain text when lengthIV is -1. 8 years ago
Jonas Jenwald b1472cddbb Allow `getOperatorList`/`getTextContent` to skip errors when parsing broken XObjects (issue 8702, issue 8704) 8 years ago
Brendan Dahl 18e2321845 Overwrite maxSizeOfInstructions in maxp with computed value. 8 years ago
Tim van der Meij ed8c0ebfa7
Implement reference tests for polyline and polygon annotations 8 years ago
Brendan Dahl 10ba292b46 Use font's default width even when 0. 8 years ago
Jani Pehkonen 5d1074c110 Fix JBIG2 symbol offsets in text regions 8 years ago
Jani Pehkonen 3d99b8d706 CCITTFaxStream problem when EndOfBlock is false 8 years ago
Tim van der Meij 400e4aae0e
Implement support for stamp annotations 8 years ago
Tim van der Meij c04f9d6098
Implement reference tests for square and circle annotations 8 years ago
Jonas Jenwald 7115e136e4 Hide unsupported `LinkAnnotation`s (issue 3897) 8 years ago
Jonas Jenwald 49b8cd5a6a Attempt to improve the `EI` detection heuristics, for inline images, in streams containing `NUL` bytes (issue 8823) 8 years ago
Jonas Jenwald 4891b9c7e0 Replace the test-case for issue 8798 with a reduced one (PR 8800 follow-up) 8 years ago
Brendan Dahl 0bef50d56d Fix two cmap related issues. 8 years ago
Jonas Jenwald 23ec6b16ca Add a fallback for non-embedded SegoeUISymbol font (issue 8697) 8 years ago
Jonas Jenwald 794b099385 Add a reduced test-case for issue 7696 8 years ago
Rob Wu 01f03fe393 Optimize PNG compression in SVG backend on Node.js 8 years ago
Brendan Dahl efbbd8533f Only mask char codes of (3, 0) cmap tables in the range of 0xF000 to 0xF0FF. 8 years ago
Brendan Dahl 6d4f748fb1 Fix how we detect and handle missing glyph data. 8 years ago
Brendan Dahl a8a8909d2d Fix missing notdef in expert encoding. 8 years ago
Rob Wu fc6448d18c Move svg:clipPath generation from clip to endPath 8 years ago
Jonas Jenwald 8b4a42e5b8 Only special-case OpenType fonts with `CFF` data if it's both a composite (i.e. Type0) font and also has a non-default CID to GID map (issue 8480) 8 years ago
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 31c24ed631 Don't map glyphs to the HANGUL FILLER (0x3164) Unicode location (issue 8424) 8 years ago
chris.greening cfc2f36f5c Adds additional parameter so background color of canvas can be set 8 years ago
Tim van der Meij e15a2ec523
Annotations: implement support for line annotations 8 years ago
Jonas Jenwald a39d636eb8 [api-minor] Always allow e.g. rendering to continue even if there are errors, and add a `stopAtErrors` parameter to `getDocument` to opt-out of this behaviour (issue 6342, issue 3795, bug 1130815) 8 years ago
Brendan Dahl 4969b2ad97 Normalize blend mode names. 8 years ago
Jason O. Jensen d230784ac3 Handle cff fonts with erroneous stackSize 8 years ago
Jonas Jenwald 4a0ff5dbf7 Ensure that we don't ignore `0` values in `Page.getInheritedPageProp` (issue 8125) 8 years ago
Jonas Jenwald 1ce295541c Always check all Kids nodes, in `Catalog.getPageDict`, to avoid getting stuck in an empty node further down in the Pages tree (issue 8088) 8 years ago
Jonas Jenwald ce072022c1 Always choose a (3, 1) cmap table for TrueType fonts that have an encoding specified, regardless of the Symbolic font flag (bug 1337429) 8 years ago
Jonas Jenwald 23c62cc321 Consume the current character when encountering illegal characters in `Lexer.getObject`, in order to prevent infinite loops during reading of streams (issue 8061) 8 years ago
pmysore1 af8292058f Font ascent descent calculation fix 8 years ago
Jonas Jenwald e963971244 Further adjust the heuristics used to detect OpenType font files with CFF data, to ensure that all Type0 fonts are handled the same way regardless of font Subtype (issue 7901) 8 years ago
Tim van der Meij 0c9a06c020 Button widget annotations: implement reference testing 9 years ago
Ross Johnson 4537590033 Consitently apply textAdvanceScale during building of textContentItems for improved highlighting. Fixes #7878. 9 years ago
Jonas Jenwald 9be3aee9c9 Add a parameter to `Page_getInheritedPageProp` to make it possible to fetch (and dereference) Arrays, and use that for the `MediaBox`/`CropBox` getters (issue 7872) 9 years ago
Jonas Jenwald c5b06cb40d Ensure that `PartialEvaluator_extractWidths` is able to handle indirect objects in all kinds of "width" data (issue 7855) 9 years ago
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 2d8d8b5e53 Use `stringToPDFString` to sanitizing bad "Prefix" entries in Page Label dictionaries 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
Jonas Jenwald d284cfd5eb [api-minor] Add support for relative URLs, in both annotations and the outline, by adding a `docBaseUrl` parameter to `PDFJS.getDocument` (bug 766086) 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 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