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
Yury Delendik
b8143b394c
Reduce max size for pattern and limit group canvases
12 years ago
Brendan Dahl
5ecce4996b
Split files into worker and main thread pieces.
12 years ago
Brendan Dahl
efa8f561a5
Move chars to glyphs conversion to the worker.
12 years ago
Brendan Dahl
bf72bc94e2
Incrementally render by sending the operator list by chunks as they're ready.
12 years ago
Brendan Dahl
55d6ede1da
Create only one instance of each device colorspace.
12 years ago
Brendan Dahl
2aecbe874e
Paint patterns relative to content base transformation.
12 years ago
Srishti
6c3e5e5d92
Fixing the offset of vertical CJK text
12 years ago
Yury Delendik
3461d02d05
Enforces trailing spaces
12 years ago
Srishti
21a8d62624
Fixes Text rotation issue #2095
12 years ago