2716 Commits (fd4428136b6a2dffb31b88f9b6da724623c5e8c5)

Author SHA1 Message Date
Tim van der Meij ef653d952b Colorspace: optimize default color initialization 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 c6008b4d7c Fix the JSDoc comment for `Catalog.parseDestDictionary` 9 years ago
Tim van der Meij 995be19378 Bidi: skip invalid Unicode character to make indexing work 9 years ago
Tim van der Meij 11839f018f Bidi: import Unicode types from the specification 9 years ago
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
Yury Delendik f7d6f3a739 Adds SVG rendering capabilities to the PDFViewer. 9 years ago
Jonas Jenwald a930f9af15 For commands with with too few arguments, clear out `args` if it's an Array instead of replacing it with `null` in `EvaluatorPreprocessor_read` (issue 7804) 9 years ago
Mukul Mishra 6ce2be98b7 Fix #7701: additional check for http/https protocols to fix unsafe header request. 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 0844a72b4d Add a bit more validation to `Catalog_readPageLabels`, to ensure that the Page Labels are well formed 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 81b9d553cf Add TeX-specific glyph names to `glyphlist.js` to improve both glyph mapping and text selection for mathematic fonts (issue 2594) 9 years ago
Brendan Dahl 8d036faf40 Move symbolic font glyphs to private use area if they don't have unicode mappings. 9 years ago
Jonas Jenwald d5e3b2fbf0 Update `PDFOutlineViewer_bindLink` to look more like `LinkAnnotationElement_bindLink` 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 71a781ee5c Deprecate the `isValidUrl` utility function and replace it with `createValidAbsoluteUrl`/`isValidProtocal` functions instead, since the main URL validation is now done using the `new URL` constructor 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
Yury Delendik 1236b27993 Removes SVG this.cgrp usages. 9 years ago
Jonas Jenwald 2ce9da9b7a Fix a couple of JSDoc `@typedef`s to use `@property` (instead of `@param`) to fix some missing documentation when running `gulp jsdoc` 9 years ago
Tim van der Meij 426fc454de SVG: factor out initialization code into a private method 9 years ago
Tim van der Meij fa90573c4b SVG: optimize transform group creation 9 years ago
Jonas Jenwald c8f83d6487 Let `Parser_makeFilter` pass in the `DecodeParms` data to various image `Stream`s, instead of re-fetching it in various `[...]Stream.prototype.ensureBuffer` methods 9 years ago
Jonas Jenwald 1da59bec9b Remove a remaining old-style preprocessor from `src/core/fonts.js` (PR 7322 follow-up) 9 years ago
Yury Delendik 0576c9c6c6 Replaces all preprocessor directives with PDFJSDev calls. 9 years ago
Chas Emerick 85c52f1fd6 Fix getTextContent evaluation to only apply TJ horizontal offsets using numeric items/args 9 years ago
Yury Delendik e336604ef1 Disables Font Loading API for Firefox. 9 years ago
Tim van der Meij d5d9f362aa Choice widget annotations: core and display layer implementation 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 3e77cf6b32 Prevent an infinite loop in `XRef_fetchUncompressed` for encrypted PDF files with indirect objects in the /Encrypt dictionary (issue 7665) 9 years ago
Tim van der Meij 375229d6b9 Widget annotations: simplify field flag handling 9 years ago
Jonas Jenwald 5f16cbd2c0 When rendering forms, don't use `element.value` since it prevents the AnnotationLayer rasterizer (in `test/driver.js`) from parsing the elements correctly 9 years ago
Jonas Jenwald ded01356c7 Pass in the `renderInteractiveForms` parameter to `Annotation_appendToOperatorList`, in `Page_getOperatorList`, instead of to the `Annotation` constructor (PR 7633 follow-up) 9 years ago
Tim van der Meij 6100ab4b18 Text widget annotations: implement comb support 9 years ago
Tim van der Meij 2da2c45889 Interactive forms: remove global PDFJS usage 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 dbea302a6e Text widget annotations: do not render on canvas as well 9 years ago
Tim van der Meij adf0972ca5 Text widget annotations: improve unit and reference tests 9 years ago
Tim van der Meij f6965fadc0 Text widget annotations: support multiline and read-only fields 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