2755 Commits (c79e5b3f173f001a85b95edae96e0fb3d34cafd3)

Author SHA1 Message Date
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
Jonas Jenwald cb5f9df0c8 [EnhanceTextSelection] Make `expandTextDivs` more efficient by updating all styles at once instead of piecewise 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
Yash Srivastav 4e428c7675
Fix lint warnings in URL polyfill 9 years ago
Yury Delendik 160b176109 Adding "proper" message port for fake worker. 9 years ago
Jonas Jenwald f620f61887 Change `src/core/jpx.js` to use the `error` utility function instead of using `throw new Error` 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
Tim van der Meij be485f59ab Text widget annotations: implement maximum length and text alignment 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 e686db250c Render interactive form (AcroForm) text widget annotations 9 years ago
Jonas Jenwald 44b75c01a1 Check that Type1C fonts does not actually contain OpenType font files (issue 7598) 9 years ago
Tim van der Meij 576f742047 Improve the structure for widget annotations 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
Tim van der Meij 96593571eb Optimize scale calculation in `text_layer.js` 9 years ago
Jonas Jenwald a35773ec8c Change `src/core/jpg.js` to use the `error` utility function instead of `throw`ing 9 years ago
Tim van der Meij b3818d5c36 Replace `div.dataset` with a `WeakMap` in `text_layer.js` 9 years ago
Tim van der Meij b10add14f3 Refactor `text_layer.js` to pass the task as a parameter 9 years ago
Tim van der Meij 7c961b6b7a Minor code style improvements after #7539 9 years ago
Jeremy Press 6faa84abdb Continuing fairexpand #6663 9 years ago
Jonas Jenwald 1bbc694ac3 Assign the `quantizationTables` after parsing the entire JPEG image, to prevent issues when the DQT (Define Quantization Tables) marker is encountered after SOF{n} (Start of Frame) markers (issue 7406) 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 5379749d4b Try to prevent `CanvasGraphics_getSinglePixelWidth` from intermittently returning incorrect values in Firefox (issue 7188) 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 83ce6f0b6d Adjust the (applicable) existing `isName` callsites to use the new `isName(v, name)` version of the function 9 years ago