1346 Commits (1bbc694ac3ce7d949f1ad520abed40bdbd0fe04b)

Author SHA1 Message Date
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
klemens 6f03f62327 trivial spelling fixes 9 years ago
Jonas Jenwald 72c1df726e Add a `getAttachments` unit-test for a PDF file that actually contains attachments 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
Rob Wu 724308c57a Add opt-out telemetry to the Chrome extension 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 b354682dd6 [api-minor] Let `LinkAnnotation`/`PDFLinkService_getDestinationHash` return a stringified version of the destination array for explicit destinations 9 years ago
Jonas Jenwald 01ab15a6f1 [api-minor] Let `Catalog_getPageIndex` check that the `Ref` actually points to a /Page dictionary 9 years ago
Jonas Jenwald c5c5a2a71f Add basic unit-tests for unicode.js 9 years ago
Jonas Jenwald 7ddb0bc718 Attempt to combine text runs positioned with `setTextMatrix` 9 years ago
Tim van der Meij 6a7012aaca Remove unused variables 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 29c4a604af Split the font_spec.js unit-tests into cff_parser_spec.js and type1_parser_spec.js 9 years ago
Yury Delendik 7fd3db9977 Adds EventBus. 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 b4a17323b6 Move `isDict` unit-tests from util_spec.js to primitives_spec.js 9 years ago
Jonas Jenwald 4523ae0b91 Add a couple of `CipherTransformFactory` unit-tests to check that blank passwords are correctly rejected 9 years ago
Jonas Jenwald 171f908b89 Add a couple of `LinkAnnotation` unit-tests 9 years ago
Prakash Palanisamy a25c29d98d Remove `combineUrl` and replace it with `new URL`. 9 years ago
Jonas Jenwald 079b563e2d Ensure that the `params` parameter of the `PredictorStream` is a dictionary (issue 7200) 9 years ago
Yury Delendik 006e8fb59d Introduces UMD headers to the web/ folder. 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
Yury Delendik 879340d741 Removes hijack describe() hack from unit tests. 9 years ago
Jonas Jenwald c4e21c93a2 Use `beforeAll`/`afterAll` in font_spec.js (issue 6905) 9 years ago
Jonas Jenwald b0ce83b372 Use `beforeAll`/`afterAll` in `CipherTransformFactory` in crypto_spec.js (issue 6905 9 years ago
Jonas Jenwald f59c3a0644 Remove the remaining usages of `new {Name,Cmd}` in favor of `{Name,Cmd}.get` 9 years ago
Yury Delendik 1d12aed5ca Move all PDFJS.xxx settings into display/global. 9 years ago
Jonas Jenwald c6c5b8fab8 Use `beforeAll`/`afterAll` in `isExternalLinkTargetSet` in dom_utils_spec.js (issue 6905) 9 years ago
Jonas Jenwald ef551e8266 Extract `Type1Parser` from fonts.js 9 years ago
Jonas Jenwald b961e1d21b Extract `CFFParser` from fonts.js (issue 6777) 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