Yury Delendik
2b82eb0161
Fixes cancel rendering regression
2014-05-01 15:51:38 -05:00
Pramodh KP
0d5b41633f
Remove legacy promises from api.js
2014-05-01 18:13:13 +05:30
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)
2014-04-18 12:11:00 -04:00
Rob Wu
2e97c0d085
Remove some unused variables from src/
...
Only obviously useless, local variables have been removed.
2014-04-15 17:10:23 +02:00
Yury Delendik
a00f854848
Refactors buildImage to use Promise; don't draw bad images
2014-04-14 15:22:35 -05:00
Brendan Dahl
6ac7f97dae
Merge pull request #4599 from yurydelendik/issue4428
...
Adds then method to the RenderTask
2014-04-11 11:27:48 -07:00
Yury Delendik
8c0762a32a
Adds then method to the RenderTask
2014-04-11 12:10:42 -05:00
Yury Delendik
175fbce0df
Fixes documentation for PDFPage.render
2014-04-11 10:57:48 -05:00
Yury Delendik
2c61f60a4e
Merge pull request #4577 from timvandermeij/reporter
...
Removes custom test/reporter.js from the lint process
2014-04-10 19:17:48 -05:00
Tim van der Meij
f463f96f35
Resolving new lint issues
2014-04-11 00:41:18 +02:00
Tim van der Meij
4e055169ed
Fixes lint warning W004 in src/display/{api, canvas, pattern_helper}.js
2014-04-11 00:41:17 +02:00
p01
b10aa18b3e
Use Opaque Canvas where possible
2014-04-10 11:50:20 +02:00
Yury Delendik
9c84bfa416
Fixes text-selection example
2014-04-09 20:52:21 -05:00
Brendan Dahl
5bd8a83c9b
Build the text layer geometry on the worker.
2014-04-09 16:44:07 -07:00
Yury Delendik
f57c6935d7
Implements WebGL support
2014-04-03 08:36:22 -05:00
Yury Delendik
944219ad8a
Balance smask process chunking
2014-04-03 08:34:21 -05:00
Yury Delendik
1e8d70af98
Prescales shading pattern packed data indices
2014-04-03 08:34:20 -05:00
Yury Delendik
5262e6f84f
Set max size for the group
2014-04-03 08:34:20 -05:00
Yury Delendik
20f6dedea7
Merge pull request #4512 from fkaelberer/cleanUpStringConversion
...
Clean up duplicate string conversion functions
2014-04-02 08:04:06 -05:00
Yury Delendik
dc0e60d103
Merge pull request #4535 from Snuffleupagus/issue-4484
...
Avoid drawing text when the font size is zero (issue 4484)
2014-04-02 07:23:43 -05:00
Yury Delendik
b97127aca2
Merge pull request #4542 from fkaelberer/typoInSpliceString
...
Fix typo/unused argument in fontloader.js->spliceString()
2014-03-31 09:37:26 -05:00
fkaelberer
4ee35b0d46
Fix typo/unused argument in fontloader.js->spliceString()
2014-03-31 14:48:23 +02:00
Jonas Jenwald
08eb9a960a
Avoid drawing text when the font size is zero (issue 4484)
2014-03-30 13:36:21 +02:00
fkaelberer
c978c026fa
clean up string conversion functions
2014-03-27 13:01:43 +01:00
Jonas Jenwald
7e7b728b5d
Assign non-zero width/height to all rectangles (issue 4260)
2014-03-26 22:29:04 +01:00
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
2014-03-26 14:05:59 +01:00
Yury Delendik
1801fb2c37
Merge pull request #4474 from chriskr/draw-image-subpixel-support
...
Introduce paintSolidColorImageMask command to handle 1x1 solid image
2014-03-19 14:31:15 -05:00
Christian Krebs
fc9edfcf76
Introduce paintSolidColorImageMask command to handle 1x1 solid image masks
...
See https://github.com/mozilla/pdf.js/issues/4436 for details
2014-03-19 13:27:59 +01:00
Brendan Dahl
68be273c69
Merge pull request #4470 from yurydelendik/packcmap
...
CMaps binary packing
2014-03-17 12:27:35 -07:00
Yury Delendik
69efd9cb96
CMaps binary packing
2014-03-14 16:46:35 -05:00
Jonas Jenwald
a1ee567d60
Fix coding style in src/display/api.js
2014-03-14 13:24:04 +01:00
Jonas Jenwald
bc986a3029
Fix coding style in src/display/canvas.js
2014-03-14 13:11:11 +01:00
Yury Delendik
257898b359
Caching inlined mask images
2014-03-13 11:01:34 -05:00
Yury Delendik
f48f57e30a
Caches last parsed resource image, recornizes image repeats
2014-03-13 11:00:10 -05:00
Yury Delendik
7963f22545
Merge pull request #4259 from brendandahl/built-in-cmaps-squash
...
Adds built in CMaps and unifies the glyph mapping.
2014-03-13 10:27:48 -05:00
Manas (prometheansacrifice)
30e00bc573
Removing set-presence-in-ImageData check from canvas.js
2014-03-11 08:48:37 +05:30
Tim van der Meij
f1249bd49e
Making src/display/font_loader.js adhere to the style guide
2014-03-09 12:45:51 +01:00
Tim van der Meij
7d86fa859f
Making src/display/metadat.js adhere to the style guide
2014-03-09 12:41:01 +01:00
Samuel Chantaraud
076b3433b4
Improved annotations' display/behavior.
...
Added an "InteractiveAnnotation" class to homogenize the annotations' structure (highlighting) and user interactions (for now, used for text and link annotations).
Text annotations:
The appearance (AP) has priority over the icon (Name).
The popup extends horizontally (up to a limit) as well as vertically.
Reduced the title's font size.
The annotation's color (C) is used to color the popup's background.
On top of the mouseover show/hide behavior, a click on the icon will lock the annotation open (for mobile purposes). It can be closed with another click on either the icon or the popup.
An annotation printing is conditioned by its "print" bit
Unsupported annotations are not displayed at all.
2014-03-07 10:48:42 -04:00
Yury Delendik
10af056f8f
Reset annotation stream; reset page annotation promise
2014-03-03 16:46:05 -06:00
Yury Delendik
9a918572dd
Merge pull request #4336 from nnethercote/rgb24
...
Special-case 24-bit RGB image-handling
2014-03-02 19:53:42 -06:00
Yury Delendik
f8c11634d8
Merge pull request #4355 from nnethercote/sliced-masks
...
Put mask data to the canvas in small slices.
2014-03-02 18:40:38 -06:00
Nicholas Nethercote
1ec3c341cc
Put mask data to the canvas in small slices.
2014-02-27 21:48:55 -08:00
Brendan Dahl
ce9e9e6ff7
Remove embeddedFontsUsed from API.
2014-02-27 14:06:03 -08:00
Nicholas Nethercote
42cbb5b440
Introduce ImageKind constants.
2014-02-25 15:18:04 -08:00
Nicholas Nethercote
4e1f92a893
Clean up putBinaryImageData().
2014-02-25 15:14:11 -08:00
Nicholas Nethercote
f62c1c469f
Special-case 24-bit RGB image-handling.
2014-02-25 15:14:04 -08:00
Manas (prometheansacrifice)
5a038b17a2
Trying to fix #4166
2014-02-23 23:46:14 +05:30
Brendan Dahl
b5b94a4af3
Use built in CMaps and unify the glyph mapping.
2014-02-11 10:27:09 -08:00
Brendan Dahl
1e4d35c3a0
Merge pull request #4192 from yurydelendik/shading-r
...
Implements shading types 4-7
2014-01-30 13:36:01 -08:00