2367 Commits (f340dd5cd5bbbe78b71862a0c561d02dd25e0f14)

Author SHA1 Message Date
Tim van der Meij 0991c06395 Refactor annotation flags code 10 years ago
Jonas Jenwald 373da010ac Move the `globals` comments in bidi.js and metadata.js to after the Copyright comments 10 years ago
Yury Delendik 56ccaea99b Move text layer building logic into src/display/text_layer.js 10 years ago
Yury Delendik 2f34fd46cb Move CustomStyle. 10 years ago
Yury Delendik 8200f099a3 Fix chars scaling for standard fonts. 10 years ago
Daan Sprenkels 6ce83d3290 apply transformation matrix to RadialGradient radiuses, 10 years ago
Yury Delendik 1d8800370a Allow subpixel anti-aliasing for most of the content. 10 years ago
Manas a2ba1b8189 Uses editorconfig to maintain consistent coding styles 10 years ago
Jonas Jenwald 50a70429ec Ignore the /Mask entry in images unless its /ImageMask entry is explicitly set to `true` (issue 6621) 10 years ago
Manas dbcb46c8de Uses @alias to fix missing comments on JSDocs pages 10 years ago
Rob Wu c604cc22d1 Improve error message for non-existent local files 10 years ago
Jonas Jenwald ff64ef0243 Prevent `readCmapTable` from failing if the `cmap` is missing in TrueType fonts 10 years ago
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