Yury Delendik
542c9c4c7a
Moves ColorSpace logic into evaluator
11 years ago
Yury Delendik
d53dc2e7d6
Refactors showText: split type3, remove showSpacedText
11 years ago
p01
455c6b2d35
Removed several 'in' operators in canvas.js
...
This gives up to 6x speed improvement on these methods
11 years ago
p01
cf5ff3d327
Fewer lookups in CanvasGraphics_constructPath
11 years ago
Yury Delendik
e5a0d89da9
Refactors loadFont for translateFont be async; fixes type3 dup data
11 years ago
Jonas Jenwald
b907e15a90
Build paths for glyph accents when drawing text as curves
11 years ago
Yury Delendik
c5eb058b09
Uses rAF to interrupt the operator list execution
11 years ago
p01
83cd530f45
Cleaner putBinaryImageData
11 years ago
Yury Delendik
63d5aae3f6
Groups path commands into single command
11 years ago
Rob Wu
2e97c0d085
Remove some unused variables from src/
...
Only obviously useless, local variables have been removed.
11 years ago
Yury Delendik
a00f854848
Refactors buildImage to use Promise; don't draw bad images
11 years ago
Tim van der Meij
4e055169ed
Fixes lint warning W004 in src/display/{api, canvas, pattern_helper}.js
11 years ago
Brendan Dahl
5bd8a83c9b
Build the text layer geometry on the worker.
11 years ago
Yury Delendik
f57c6935d7
Implements WebGL support
11 years ago
Yury Delendik
944219ad8a
Balance smask process chunking
11 years ago
Yury Delendik
5262e6f84f
Set max size for the group
11 years ago
Jonas Jenwald
08eb9a960a
Avoid drawing text when the font size is zero (issue 4484)
11 years ago
Jonas Jenwald
7e7b728b5d
Assign non-zero width/height to all rectangles (issue 4260)
11 years ago
p01
4e6ebf2de0
Optimized putBinaryImageData for GRAYSCALE_1BPP
...
The following changes make putBinaryImageData 2.2x faster.
* Use a Uint32Array to draw whole pixels instead component by component
* Unroll the inner most loop
* Added lazy PDFJS.hasCanvasTypedArrays, PDFJS.isLittleEndian and compatibility
Uint32ArrayView for browsers using the old CanvasPixelArray
11 years ago
Christian Krebs
fc9edfcf76
Introduce paintSolidColorImageMask command to handle 1x1 solid image masks
...
See https://github.com/mozilla/pdf.js/issues/4436 for details
11 years ago
Jonas Jenwald
bc986a3029
Fix coding style in src/display/canvas.js
11 years ago
Yury Delendik
257898b359
Caching inlined mask images
11 years ago
Yury Delendik
f48f57e30a
Caches last parsed resource image, recornizes image repeats
11 years ago
Manas (prometheansacrifice)
30e00bc573
Removing set-presence-in-ImageData check from canvas.js
11 years ago
Nicholas Nethercote
1ec3c341cc
Put mask data to the canvas in small slices.
11 years ago
Nicholas Nethercote
42cbb5b440
Introduce ImageKind constants.
11 years ago
Nicholas Nethercote
4e1f92a893
Clean up putBinaryImageData().
11 years ago
Nicholas Nethercote
f62c1c469f
Special-case 24-bit RGB image-handling.
11 years ago
Brendan Dahl
b5b94a4af3
Use built in CMaps and unify the glyph mapping.
11 years ago
Yury Delendik
99bbad3219
Removes scolling jank after bw image optimization
11 years ago
Nicholas Nethercote
a966909754
Reduce memory consumption of simple black and white images.
11 years ago
Yury Delendik
a583c319a1
Implements shading types 4-7
11 years ago
Yury Delendik
48436b6a0f
Fixes smask backdrop
11 years ago
Yury Delendik
bf432a37bb
Refactors shared/pattern.js into core/ and display/
11 years ago
Yury Delendik
4054b0c385
SMask emulation
11 years ago
Yury Delendik
09f8f951c8
Extracts evaluator preprocessor and refactor text extraction
11 years ago
Nicholas Nethercote
4332c2fabe
Do createImageData/putImageData in chunks, to save memory.
11 years ago
Yury Delendik
7e75a665d2
Checks if subpixel-aa enabled before scaling the fonts
11 years ago
Yury Delendik
1991efe4f0
Fixes type3 glyph compilation for bitpacked mask
11 years ago
Nicholas Nethercote
3f533a1cb0
Use a more compact typed array to pass the image mask from the worker to the main thread.
11 years ago
Yury Delendik
0131101275
Takes ascent/descent in account in the text layer
11 years ago
Yury Delendik
5bf3e44e30
Introduces LegacyPromise; polyfills DOM Promise
11 years ago
Brendan Dahl
2228343f77
Only trigger warning bar on certain unsupported features.
11 years ago
Yury Delendik
d72c94f4a3
Comment fix: shedule -> schedule
12 years ago
Brendan Dahl
3ac89aacd2
Remove slow commands check.
12 years ago
Brendan Dahl
f4942b11f8
Reduce the memory usage of the operator list.
12 years ago
Jonas Jenwald
4ae3802484
Fix undefined group bounding box
12 years ago
Brendan Dahl
29b89f1f1e
Intersect group bounding box with the current canvas dimensions.
12 years ago
Mitar
940c77f6c9
instanceof HTMLElement does not work in jsdom node.js module.
12 years ago
Brendan Dahl
bb2529de03
Move the creation of canvas path fonts to the worker.
12 years ago