2669 Commits (551eb263e3e73dc56b9e8122dfac3bba455c677a)

Author SHA1 Message Date
Yury Delendik bda5e6235e Removes global PDFJS usage from the src/core/. 9 years ago
Yury Delendik 6038c236b2 Removes core/stream circular dependency on core/parser. 9 years ago
Jonas Jenwald d78fae0181 Ensure that TrueType font tables have `uint32` checksums 9 years ago
Manas f6d28ca323 Refactors CMapFactory.create to make it async 9 years ago
Jonas Jenwald 91756f6e86 Pass the `PDFJS.postMessageTransfer` parameter to the worker, so that the `MessageHandler` can be setup correctly in `createDocumentHandler` (issue 6957) 9 years ago
Yury Delendik 8ba413e761 Better errors capturing at the core and stop rendering on error. 9 years ago
Jonas Jenwald cd2bd057ab Refactor the building of `toFontChar` for non-embedded fonts 9 years ago
Jonas Jenwald dfe9015a43 Convert `uniXXXX` glyph names to proper ones when building the `charCodeToGlyphId` map for TrueType fonts (bug 1132849, issue 6893, issue 6894) 9 years ago
Preetham Mysore be1e12dbcb Fix for descent calculation while reading font hhea headers 9 years ago
Yury Delendik a022f6f069 Reverts back un-need change made at #6879. 9 years ago
Brendan Dahl 6e1d131384 For CIDFontType2 use CID as glyph ID when missing CID to GID map. 9 years ago
Brendan Dahl ff87f3fb86 Only draw glyphs on canvas if they are in the font or the font file is missing. 9 years ago
Jonas Jenwald 505f15f221 Avoid accidentally getting the entire font file in `readNameTable` (issue 7020) 9 years ago
Tim van der Meij ad31e52a26 Group popup creation code and apply it to more annotation types 9 years ago
Tim van der Meij 0351c7eff4 Move the `getFileName` helper function to the core 9 years ago
Tim van der Meij 6a33dfd13a Implement support for FileAttachment annotations 9 years ago
Xiliang Chen 6762ff2fd6 don't render highlight/underline/squiggly/strikeout annotations that doesn't have popup 9 years ago
Xiliang Chen 266cedd960 always expose data.title and data.content 9 years ago
Yury Delendik 0d591719d9 Makes PDF data reading Streams API friendly. 9 years ago
Jonas Jenwald a494e33776 Update `JpegImage.getData` to support `forceRGBoutput` for images with `numComponents === 1` (issue 6066) 9 years ago
Jonas Jenwald 7cf9de2c17 [api-minor] Change `getOutline` to actually return the RGB color of outline items 9 years ago
Jonas Jenwald 98db068079 Reduce the overall indentation level in `Catalog_readDocumentOutline`, by using early returns, in order to improve readability 9 years ago
Jonas Jenwald 1ee016b005 Remove `Dict_getAll` since it is now unused 9 years ago
Jonas Jenwald 93ea866f01 Remove `getAll` from `EvaluatorPreprocessor_read` 9 years ago
Jonas Jenwald 02a6b73492 Get rid of `getAll` usage in colorspace.js 9 years ago
Prayag Verma 049beac346 Fix a typo in api.js 9 years ago
Xiliang Chen e42da0f5e9 move hasHtml to AnnotationElement 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
Rob Wu 097e273ca4 Improve work-around for importScripts bug. 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
Brendan Dahl 02331f6e33 Make type 1 font program decryption faster. 9 years ago
Yury Delendik e36b04e1ff Fix 'Ready' message sequence for Firefox ext disabled worker. 9 years ago
Jonas Jenwald e401804f13 Remove the 'oplist' rendering intent when `getOperatorList` has returned the complete `OperatorList`, and prevent errors in `PDFPageProxy_destroy` for the 'oplist' rendering intent 9 years ago
Jeff Walden 4691a4a1e4 Adjust a comment discussing transferred ArrayBuffers to refer to those buffers being detached, not neutered. This change makes the comment consistent with terminology used in the ECMAScript specification. 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 4ef20de429 Lazify GlyphsUnicode. 9 years ago
Jonas Jenwald 1140a34f5c [api-minor] Change `getPageLabels` to always return the pageLabels, even if they are identical to standard page numbering 9 years ago
Yury Delendik bc30c42758 Fixes URL polyfill check for MS Edge. 9 years ago
Jonas Jenwald 15ce96a6eb Prevent failures in the "scanning for endstream" code, in `Parser_makeStream`, by handling the case where 'endstream' is split between contiguous chunks (issue 1536) 9 years ago
Jonas Jenwald 472e793a27 Always display `deprecated` messages, regardless of the verbosity setting 9 years ago
Xiliang Chen 069f4b9bdf avoid apply transform twice for composite context 9 years ago