Yury Delendik
bdeca30fbf
Splits shared/annotation.js into core/ and display/
11 years ago
pramodhkp
1d00e9d13c
Added getOperatorList to api.js
11 years ago
Nicholas Nethercote
7ef7f95374
Zero the height and width of the Cached canvases before deleting.
...
This reduces peak RSS by about 300 MiB on my Mac when scrolling slowly through
the first 30 pages of a scanned black and white document.
11 years ago
Yury Delendik
0cd28ebfa3
Telemetry for used stream and font types
11 years ago
Jonas Jenwald
3c78c7b8bc
Refactor fake worker loading (issue 3862)
11 years ago
Samuel Chantaraud
952545e20f
Limit the size of canvases to 5MP (iOS restriction)
11 years ago
Yury Delendik
1ac8ca66f7
Fixes optional backdrop regression
11 years ago
p01
e0bf7e2151
Optimized genericComposeSMask
...
Declaring the composition and backgdrop functions outside of genericComposeSMask
is more efficient.
11 years ago
p01
412febe4a4
canvas.js minor optimizations
11 years ago
p01
35e418c603
Optimized CanvasGraphics_executeOperatorList 66% faster
11 years ago
Mohammed Abu-alsaad
e6546642db
Added more preference variables from the available hash parameters
11 years ago
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
c4d4682924
Fix regression that prevents downloading the PDF file (PR 4752)
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
Yury Delendik
cc9643cf32
Refactors GetAnnotationsRequest and GetPageRequest
11 years ago
Yury Delendik
2008f74185
Refactors MessageHandler.send to remove callbacks
11 years ago
Jonas Jenwald
652dde48da
Fix typo when rejecting Promise in getPage
11 years ago
Jonas Jenwald
f3f3db0d15
Remove 'info' and 'metadata' from GetDoc
11 years ago
Jonas Jenwald
069f0cc8c0
Remove 'javaScript' from GetDoc
11 years ago
Jonas Jenwald
4bfcb27d0b
Remove 'outline' from GetDoc
11 years ago
Yury Delendik
95e61ad0e3
Adds pageviewport documentation
11 years ago
p01
83cd530f45
Cleaner putBinaryImageData
11 years ago
Yury Delendik
2b82eb0161
Fixes cancel rendering regression
11 years ago
Pramodh KP
0d5b41633f
Remove legacy promises from api.js
11 years ago
Yury Delendik
63d5aae3f6
Groups path commands into single command
11 years ago
Samuel Chantaraud
25ee0e8572
Preliminary attachments support
...
Added a partial Filespec support
Added getAttachments in API
Added a new attachments view in UI (with a new icon by @shorlander )
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
Yury Delendik
8c0762a32a
Adds then method to the RenderTask
11 years ago
Yury Delendik
175fbce0df
Fixes documentation for PDFPage.render
11 years ago
Tim van der Meij
f463f96f35
Resolving new lint issues
11 years ago
Tim van der Meij
4e055169ed
Fixes lint warning W004 in src/display/{api, canvas, pattern_helper}.js
11 years ago
p01
b10aa18b3e
Use Opaque Canvas where possible
11 years ago
Yury Delendik
9c84bfa416
Fixes text-selection example
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
1e8d70af98
Prescales shading pattern packed data indices
11 years ago
Yury Delendik
5262e6f84f
Set max size for the group
11 years ago
fkaelberer
4ee35b0d46
Fix typo/unused argument in fontloader.js->spliceString()
11 years ago
Jonas Jenwald
08eb9a960a
Avoid drawing text when the font size is zero (issue 4484)
11 years ago
fkaelberer
c978c026fa
clean up string conversion functions
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