1594 Commits (ef4a13534dde2b10d115c56b1add59ec636734d6)

Author SHA1 Message Date
Jonas Jenwald 3170a4c40a Improve rendering of non-embedded NuptialScript font 9 years ago
Sean Burke f76cd2ce43 Expose the optional UserUnit entry as a page property 9 years ago
Jonas Jenwald d3043167de Correctly detect more cases of non-embedded Arial Black fonts (issue 7835) 9 years ago
Jonas Jenwald 6d8a404a9c [api-minor] Add support for a couple of white-listed `JavaScript` actions that contains valid URLs (issue 3897, bug 843699) 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
Tim van der Meij 1d96854019 Widget annotation: implement field name according to the specification 9 years ago
Tim van der Meij 5194e68134 Lint: correct code style violations 9 years ago
Jonas Jenwald 2b79782377 [api-minor] Add basic support for `Launch` actions (issue 1778, issue 3897, issue 6616) 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
Jonas Jenwald 42f07c6262 [api-minor] Use the `new URL` constructor when validating URLs in annotations and the outline, as a complement to only checking the protocol, and add a bit more validation to `Catalog_parseDestDictionary` 9 years ago
Jonas Jenwald e64bc1fd13 Move parsing of destination dictionaries to a helper function 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 93830032ac Add a unit-test for annotations where the `URI` action has an incorrect encoding (bug 1122280, PR 5999) 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 375229d6b9 Widget annotations: simplify field flag handling 9 years ago
Jonas Jenwald 3a105e37f4 Ensure that `test/driver.js` actually takes the same `Annotation` code-path as the viewer when running `forms` tests (PR 7633 follow-up) 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 8eaa2cbce3 Remove the deprecated `mozDash`/`mozDashOffset` canvas 2D context methods 9 years ago
Tim van der Meij 323e86c442 Text widget annotations: implement unit testing and sanitize data values 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
Jonas Jenwald 37998076c9 In `display/api.js` ensure that we always reject with an `Error` in `JpegDecode`, and adjust a couple of other rejection sites as well 9 years ago
Jeremy Press 1ceeb4d17b added text enhancement regression tests 9 years ago
Jeremy Press 6faa84abdb Continuing fairexpand #6663 9 years ago
Jonas Jenwald 3ac23200ba Add a reduced test-case for issue 7406 9 years ago
Tim van der Meij b81d661556 Remove unused globals from fonts unit test file 9 years ago
Jonas Jenwald 088ce6c009 Add a unit-test to check that `ProblematicCharRanges` contains valid entries 9 years ago
Jonas Jenwald 78889646c8 Create a fallback annotation `id` for entries in `Annots` dictionaries that are not indirect objects (issue 7569) 9 years ago
Jonas Jenwald db1526c59e Add unit-tests for asynchronous methods in `primitives.js` 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 af636aae96 Add a parameter to the `isName` function that enables checking not just that something is a `Name`, but also that the actual `name` properties matches 9 years ago
Jonas Jenwald d70e07fb90 Add more unit-tests for `primitives.js` 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 f297e4d17c [api-minor] Add a parameter to `PDFPageProxy_getTextContent` that controls whether `PartialEvaluator_getTextContent` will attempt to combine same line text items 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