199 Commits (8c5b9255471d7c2f472e477592fca4a50f2a5962)

Author SHA1 Message Date
Jonas Jenwald 116ba19dd9 Respect the 'ColorTransform' entry in the image dictionary when decoding JPEG images (bug 956965, issue 6574) 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
Jonas Jenwald 83ce6f0b6d Adjust the (applicable) existing `isName` callsites to use the new `isName(v, name)` version of the function 9 years ago
Jonas Jenwald 77c6ed5389 Attempt to ignore multiple identical Tf (setFont) commands in `PartialEvaluator_getTextContent` (issue 5808) 9 years ago
Jonas Jenwald 390c02a3e9 Attempt to cache fonts that are direct objects (i.e. `Dict`s), as opposed to `Ref`s, to prevent re-rendering after `cleanup` from breaking (issue 7403 and issue 7402) 9 years ago
Jonas Jenwald 2e9cd3ea64 Slightly refactor the `fontRef` handling in `PartialEvaluator_loadFont` (issue 7403 and issue 7402) 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
klemens 6f03f62327 trivial spelling fixes 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 b02d560ae0 Fix errors in `setGState` in `PartialEvaluator_getTextContent` that prevents text-selection from working properly 9 years ago
Jonas Jenwald 7ddb0bc718 Attempt to combine text runs positioned with `setTextMatrix` 9 years ago
Jonas Jenwald 6111c17c8a Use `Dict_getArray` in more places in `src/core/` to avoid issues when Arrays contain indirect objects 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 35cbf74b12 Refactors to remove stream.js dependency on colorspace.js 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
Yury Delendik bda5e6235e Removes global PDFJS usage from the src/core/. 9 years ago
Manas f6d28ca323 Refactors CMapFactory.create to make it async 9 years ago
Yury Delendik 8ba413e761 Better errors capturing at the core and stop rendering on error. 9 years ago
Jonas Jenwald 93ea866f01 Remove `getAll` from `EvaluatorPreprocessor_read` 9 years ago
Jonas Jenwald f7f60197ce Replace `getAll` with `getKeys` in `loadType3Data` 9 years ago
Jonas Jenwald 07e1ad40a2 Replace `getAll` with `getKeys` in `PartialEvaluator_hasBlendModes` to speed up loading of badly generated PDF files (issue 6961) 9 years ago
Jonas Jenwald a1fe2cb443 Don't directly access the private `map` in `setGState`, and ensure that we avoid indirect objects 9 years ago
Jonas Jenwald 2d4a1aa0af Actually ignore no-op `setGState` (PR 5192 followup) 9 years ago
Jonas Jenwald 4770b516fe Correct the upper bound used when building the `transferMap` for SMasks (PR 6723 followup) 9 years ago
Jonas Jenwald 992472fd38 Ensure that we don't modify the `Dict` data when the `Differences` array of a font contains indirect objects 9 years ago
Yury Delendik 2edf2792dc Replaces literal {} created lookup tables with Object.create 9 years ago
Yury Delendik d6adf84159 Lazify OP_MAP. 9 years ago
Yury Delendik 1de90454b7 Lazify Metrics 9 years ago
Yury Delendik 55a201d92d Lazify NormalizedUnicodes 9 years ago
Yury Delendik d0738d7e24 Lazify stdFontMap, serifFonts, GlyphMapForStandardFonts 9 years ago
Yury Delendik 1a9a665adf Refactor Encodings 9 years ago
Yury Delendik 6b60c8f4db Adds UMD headers to core, display and shared files. 9 years ago
Yury Delendik 15c9969abe Adds transfer function support for SMask. 10 years ago
Yury Delendik c9cb6a3025 Replaces UnsupportedManager with callback. 10 years ago
Yury Delendik e4e69e2f05 Set error font for Type3 if its loading failed. 10 years ago
Jonas Jenwald 6dfe53b976 [api-minor] Add a parameter to `PDFPageProxy_getTextContent` that enables replacing of all whitespace with standard spaces in the textLayer (issue 6612) 10 years ago
Yury Delendik 06c1904675 Refactors FontLoader to group fonts per document. 10 years ago
Manas a2ba1b8189 Uses editorconfig to maintain consistent coding styles 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 fa46b73c47 Better spacing in text layer. 10 years ago
Jonas Jenwald 1c66d4a106 Add a `totalLength` getter to `OperatorList`, since the `length` is zero after flushing 10 years ago
Yury Delendik 58c3ea0820 Adds thread abort capabilities. 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
Jonas Jenwald 1b8cb52555 Prevent `PartialEvaluator_buildFormXObject` from failing if the `Matrix` or `BBox` contains indirect objects 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
Rob Wu b0a8c0fa40 cmaps: Use cmap.forEach instead of Array.forEach 10 years ago
Jonas Jenwald 46a8485db4 Ignore paint form XObject when the name is missing (issue 4558) 10 years ago