2755 Commits (c79e5b3f173f001a85b95edae96e0fb3d34cafd3)

Author SHA1 Message Date
Jonas Jenwald b961e1d21b Extract `CFFParser` from fonts.js (issue 6777) 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
Jonas Jenwald c40df8a393 Make `Type1Font` more class-like, by adding closure 9 years ago
Jonas Jenwald 17aaa125df Keep track of the character to glyph mapping in font_renderer.js, to prevent errors when different characters point to the same glyph (issue 7101) 9 years ago
Nico Schlömer 7cb055307d Add element to text layer even if width === 0 9 years ago
Jonas Jenwald 13d7a5070e Prevent failures in the Annotation code if the `Rect` array contains indirect objects (issue 7115) 9 years ago
Yury Delendik 2fa4dd6f40 Proxy global PDFJS.verbosity to properly configure shared/util. 9 years ago
Yury Delendik a8e5912cb1 Moves shared/global to display/global 9 years ago
Yury Delendik e372f3608b Makes WorkerMessageHandler non-global. 9 years ago
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