142 Commits (d028c262102587a5374fc2a20a976c92d283438c)

Author SHA1 Message Date
Yury Delendik d028c26210 Removes error() 8 years ago
Jonas Jenwald f20d2cd2ae Fix inconsistent spacing and trailing commas in objects in remaining `src/` files, so we can enable the `comma-dangle` and `object-curly-spacing` ESLint rules later on 8 years ago
Yury Delendik a67198895f Resets canvas 2d context to the default state. 8 years ago
chris.greening cfc2f36f5c Adds additional parameter so background color of canvas can be set 8 years ago
Jonas Jenwald 95bbc8101c Replace unnecessary `bind(this)` and `var self = this` statements with arrow functions in `src/core/evaluator.js` 8 years ago
Jonas Jenwald 07b5574006 Enable the `object-shorthand` ESLint rule in `src/display` 8 years ago
Jonas Jenwald 52e3de3c0a Convert the files in the `/src/display` folder to ES6 modules 8 years ago
Yury Delendik 30bee9fe0c Moves Uint32ArrayView and hasCanvasTypedArrays into compatibility.js. 8 years ago
Brendan Dahl 4969b2ad97 Normalize blend mode names. 8 years ago
Mukul Mishra 41d092d04b Fixes behaviour of DOMCanvasFactory to return {canvas, context}. 8 years ago
Mukul Mishra 32817633c9 Fix #7798: Refactor scratch canvas usage. 8 years ago
Tim van der Meij 95732279b6 Remove usage of `mozFillRule` 8 years ago
Jonas Jenwald 4626fc8342 Enable the `spaced-comment` ESLint rule 8 years ago
Jonas Jenwald c850968fa7 Remove `globals` that are now unnecessary thanks to the use of various ESLint environments (e.g. Node, ShellJS, Jasmine) 8 years ago
Jonas Jenwald 66d2637b3f Fix errors reported by the `yoda` ESLint rule 8 years ago
Jonas Jenwald 3820946301 Fix (most) errors reported by the `no-multi-spaces` ESLint rule 8 years ago
Jonas Jenwald d3043167de Correctly detect more cases of non-embedded Arial Black fonts (issue 7835) 9 years ago
Tim van der Meij 5194e68134 Lint: correct code style violations 9 years ago
Jonas Jenwald 8eaa2cbce3 Remove the deprecated `mozDash`/`mozDashOffset` canvas 2D context methods 9 years ago
Jonas Jenwald 5379749d4b Try to prevent `CanvasGraphics_getSinglePixelWidth` from intermittently returning incorrect values in Firefox (issue 7188) 9 years ago
klemens 6f03f62327 trivial spelling fixes 9 years ago
Yury Delendik 63f62a0e53 Finishing SMask at the end of operators list. 9 years ago
Yury Delendik 1485c1d1da Suspending/resuming SMask operation during setGState/restore. 9 years ago
Yury Delendik 1d12aed5ca Move all PDFJS.xxx settings into display/global. 9 years ago
Yury Delendik bda5e6235e Removes global PDFJS usage from the src/core/. 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
Xiliang Chen 069f4b9bdf avoid apply transform twice for composite context 9 years ago
Jonas Jenwald 1d1f175826 Apply Patterns, if necessary, when rendering text 9 years ago
Jonas Jenwald 2f2ea6160b Ensure that the `baseTransform` is applied when rendering annotations 9 years ago
Tim van der Meij df81b832bb Remove unused variables 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 d4843ebf6d Fixes canvas state after smask group ends. 10 years ago
Daan Sprenkels a9081653fc shading-pattern: While drawing patterns, transform to the baseTransform first 10 years ago
Yury Delendik c9cb6a3025 Replaces UnsupportedManager with callback. 10 years ago
Yury Delendik 8200f099a3 Fix chars scaling for standard fonts. 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
Yury Delendik fa46b73c47 Better spacing in text layer. 10 years ago
Jonas Jenwald 487ba9065a Fail gracefully, and with a notification, if paintXObject is encountered in canvas.js 10 years ago
Jonas Jenwald 9eab463b6d Ensure that the `baseTransform` is always defined for TilingPatterns 10 years ago
Fabian Lange 2564827503 Fix text spacing with vertical fonts (#6387) 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 75624c8d82 Clear the |getSinglePixelWidth| cache when rendering Type3 fonts (issue 6117) 10 years ago
Jonas Jenwald a64536901a Increase the font weight used for non-embedded ArialBlack fonts 10 years ago
Rob Wu 6eb9e6a6a4 Fix flaw in mozCurrentTransform polyfill 10 years ago
Collin Anderson 54e984c763 cleaned whitespace 10 years ago
Jonas Jenwald fc1e2483b4 Enforce minimum line widths 10 years ago
Fabian Lange 5405b1c8e4 minor improvements and code cleanup for canvas.js 10 years ago