2770 Commits (0423bb69e92173f3018adc81fb9b59bee071c987)

Author SHA1 Message Date
Yury Delendik cc5bc18728 Fixes incorrect PDF file font metrics. 10 years ago
Yury Delendik fa423cfab0 Refactors fake space heuristics for speed. 10 years ago
Yury Delendik 376f8bde14 Combines standalone divs into text groups. 10 years ago
Yury Delendik 601d29b14e Fixes all examples to require workerSrc to be set. 10 years ago
Yury Delendik 28d340679a Uses document.currentScript for pdf.worker.js path. 10 years ago
Yury Delendik fa46b73c47 Better spacing in text layer. 10 years ago
Yury Delendik 8d15ecb14b Ignore any pending data when worker is terminated. 10 years ago
Tony Jin ef667823dd [api-minor] Add an optional param to DocumentInitParameters for specifying the range request chunk size to use. Defaults to 2^16 = 65536. 10 years ago
Jonas Jenwald 1c66d4a106 Add a `totalLength` getter to `OperatorList`, since the `length` is zero after flushing 10 years ago
Jonas Jenwald 5bd95df427 Prevent `TypeError: page is undefined` when the document has been destroyed (PR 6546 follow-up) 10 years ago
Yury Delendik 5135aa9bec Adds deprecation warning for the API calls. 10 years ago
Yury Delendik 58c3ea0820 Adds thread abort capabilities. 10 years ago
Yury Delendik 59c13b32aa Adds destroy method to the document loading task. 10 years ago
Jonas Jenwald 487ba9065a Fail gracefully, and with a notification, if paintXObject is encountered in canvas.js 10 years ago
Jonas Jenwald 2e751199fb Prevent getOperatorList from failing to correctly parse OPS.paintXObject for TilingPatterns that are missing some /Resources entries (issue 6541) 10 years ago
Rob Wu 50ff2d4c2a Ignore operators that are known to be unsupported 10 years ago
Colin VanLang 6d8e883fe6 Fixes bluebeam password protection issue 10 years ago
Jonas Jenwald 49883439a5 Ensure that `Dict_getArray` doesn't fail if `xref` in undefined (PR 6485 follow-up) 10 years ago
Jonas Jenwald 9ab896e307 [api-minor] Add an option to PDFJS for specifying the |target| attribute of external links 10 years ago
Jonas Jenwald 9b12c64be5 Cache the regular expression used for finding `obj`s in `XRef_indexObjects`, to avoid unnecessary allocations 10 years ago
Jonas Jenwald 192907e0d2 Make `XRef_indexObjects` even more robust against bad PDF files, by checking for the existence of 'trailer' if 'xref' is not found 10 years ago
Jonas Jenwald 1b8cb52555 Prevent `PartialEvaluator_buildFormXObject` from failing if the `Matrix` or `BBox` contains indirect objects 10 years ago
Jonas Jenwald 75557d27d1 Add `getArray` method to `Dict` 10 years ago
Jonas Jenwald 9eab463b6d Ensure that the `baseTransform` is always defined for TilingPatterns 10 years ago
Jonas Jenwald 8d831449ab Right-size the `map` array in PartialEvaluator_readToUnicode 10 years ago
Fabian Lange 2564827503 Fix text spacing with vertical fonts (#6387) 10 years ago
Jonas Jenwald 5853553455 Make `get fingerprint` slightly more robust against corrupt PDF files 10 years ago
Jonas Jenwald 29a1cdb6a6 Only choose a (3, 1) cmap table for TrueType fonts that have an encoding specified (issue 6410) 10 years ago
Fabian Lange 063ca95f5f Remove TryCatch in canvas fill 10 years ago
Jonas Jenwald cfd5a64df5 Ensure that the clipping path is reset when the state is restored (issue 6413) 10 years ago
Jonas Jenwald b1d148a4aa Remove `Parser_fetchIfRef` since it's obsolete 10 years ago
Jonas Jenwald 0fb31a4a9e Fallback in `readCmapTable`, instead of using `error`, for TrueType fonts with unsupported cmap formats (bug 1200096) 10 years ago
Jonas Jenwald f814fdc215 Add a warning when we encounter an empty stream in `Parser_makeFilter` 10 years ago
Jonas Jenwald 56a43a3181 Make `XRef_indexObjects` more robust against bad PDF files (issue 5752) 10 years ago
Jonas Jenwald 5128603f64 Also check `maybeLength` when deciding if a stream is empty in `Parser_makeFilter` (issue 6360) 10 years ago
Vincent Castelain 0cd4cc4e80 api/getDocument : handle ArrayBuffer check for PDF binary data (byteLength) 10 years ago
Jonas Jenwald 3fa5f6cc3b Only take the fast-path in `PDFImage_createImageData` for un-masked JPEG images with "standard" colour spaces (issue 6364) 10 years ago
Jonas Jenwald 8c3b8238ac Don't catch `MissingDataException` in `Parser_tryShift` 10 years ago
Jonas Jenwald b1cf4d98ad Avoid more allocations for RTL text in bidi.js 10 years ago
Mike Skalnik 341c5e9d1f [PATCH] Add fallback for font loading when eval disabled 10 years ago
Jonas Jenwald ee5ce4b4a2 Fix typo in `drawFigures`, in webgl.js, which causes shadingPatterns with `figure.type === triangles` to render incorrectly 10 years ago
Yury Delendik 20b46aaf88 Fixes supportsMozChunked for node.js 10 years ago
Jonas Jenwald 99d29487ab Adjust which TrueType (3, 1) glyphs we attempt to skip mapping of (issue 6336) 10 years ago
Rob Wu 1e3078d6c4 Serialize errors before invoking postMessage 10 years ago
Rob Wu b0a8c0fa40 cmaps: Use cmap.forEach instead of Array.forEach 10 years ago
Tilman Hausherr 6d1e0f7e8d fix handling of flags 1-3 in tensor shading 10 years ago
Tilman Hausherr c85fa00d62 fix handling of flags 1-3 in coons shading 10 years ago
Jonas Jenwald 1d65daf5e5 Correctly access `colorSpace.numComps` in `MeshStreamReader` (issue 6287) 10 years ago
Jonas Jenwald 7fe2442a18 Ensure that we don't use the same typed array for both `coords` and `colors` in Mesh `figures` (issue 6287) 10 years ago
Jonas Jenwald 55bc98a8b0 Rename `PatternType` to `ShadingType` to avoid confusion 10 years ago