Yury Delendik
5839fef84c
Merge pull request #2945 from mduan/annotation
...
Add support for appearance streams in annotations
2013-04-01 19:42:17 -07:00
Brendan Dahl
bd7eba0d46
Add back mozOpaque.
2013-03-29 14:25:10 -07:00
Brendan Dahl
ec311f303b
Use white backdrop when possible.
2013-03-29 13:26:25 -07:00
Mack Duan
79831d7ec5
Support rendering appearance streams for annotations
2013-03-19 12:51:28 -07:00
Brendan Dahl
725cd5407f
Add basic support for transparency groups.
2013-03-12 17:20:38 -07:00
vyv03354
99165fb702
Fix the calculation of default vertical metrics
...
Fixes bug 849627 and 849628.
The current code was obviously wrong per the spec 9.7.4.3.
2013-03-13 02:08:37 +09:00
Brendan Dahl
523aa9c152
Add support for blend modes.
2013-03-11 10:23:47 -07:00
Brendan Dahl
0e14f0ccae
Merge pull request #2818 from yurydelendik/seac
...
Seac support for Windows
2013-03-05 09:02:54 -08:00
Yury Delendik
8ee193892b
Seac support for Windows
2013-03-04 12:37:59 -06:00
vyv03354
9310e852db
Pass commonObjs to TilingPattern constructor
...
Broken example: http://www.eiken.or.jp/eiken/apply/private/flow/pdf/ichiji.pdf
2013-03-03 21:36:44 +09:00
Yury Delendik
d97c5a2b14
Merge pull request #2844 from vyv03354/issue2842
...
Fix spacing calculation of TJ operator
2013-02-28 09:01:29 -08:00
vyv03354
1579c4778b
Fix spacing calculation of TJ operator
2013-03-01 00:27:48 +09:00
David Cook
355efc46d2
Fix text selection for oddly-spaced TJ commands
...
This change will discard trailing space adjustments in TJ/showSpacedText()
for the purposes of calculating the text width for text selection. In
pathological cases, a PDF may write one character and then move the text
matrix back to the beginning of the character within one TJ invocation.
This would add up to a canvasWidth of 0, so the text selection <div> would
be scaled to zero pixels wide, even though the character was drawn
normally.
With this change, canvasWidth will not include any adjustments made after
the last character was written. Normal use of TJ will result in the same
text selection behavior, whereas pathological use of TJ will result in the
text selection layer matching the actual width of the characters
displayed.
For an example of such pathological behavior, see http://www.tycovalves-usa.com/ld/CROMC-0297-US.pdf#page=48
2013-02-25 21:00:17 -06:00
vyv03354
c5b8ee6a91
Implements vertical writing
2013-02-15 03:53:34 +09:00
j
c33b92036f
fix image width/height for zoomed viewport
...
image width/height is off while pdf is zoomed,
use raw transform values to compute width/height
to fix this.
2013-02-12 16:03:30 +05:30
j
cd42ccd439
add imageLayer
...
add optional imageLayer object to access images and there
position and size as they are rendered on the canvas.
2013-02-11 00:20:27 +05:30
vyv03354
7dcbf7d2c3
Reduce warning spam caused by BX/EX
2013-02-06 03:57:59 +09:00
Yury Delendik
5cf0d8fa80
Enforces maxlen for jshint
2013-02-02 16:49:19 -06:00
Jon Buckley
98c2f96260
Issue #2008 - Fix lint errors for src/canvas.js
2013-01-31 19:12:44 -05:00
mduan
6bacb38692
Make canvas transform matrix account for devicePixelRatio
2013-01-30 16:06:12 -05:00
Brendan Dahl
bf0abd61d1
Merge pull request #2505 from yurydelendik/refactor-cff-float
...
Refactors encodeFloat, font matrix and flex args
2013-01-04 09:24:58 -08:00
Yury Delendik
10bb6c9ec0
Refactors font matrix operations
2013-01-03 22:38:14 -06:00
Yury Delendik
1826daa1d5
Refactors rescaleImage: improving quality of scanned images
2012-12-21 19:10:21 -06:00
Yury Delendik
cae62341ac
Split large image groups into smaller chunks
2012-12-07 17:19:06 -06:00
Yury Delendik
d71c702dcf
Removes "too many inline images" limit
2012-12-07 12:19:43 -06:00
Yury Delendik
859aad138c
Merge pull request #2432 from yurydelendik/setDash
...
Using setListDash for dashed lines
2012-12-04 13:58:48 -08:00
Brendan Dahl
39038b7377
Rescale regular images manually if they are too big.
2012-12-04 09:36:42 -08:00
Yury Delendik
a7f0e9612a
Using setDash for dashed lines
2012-12-04 08:26:10 -06:00
Yury Delendik
0029b34d45
Refactors getRgb and makeCssRgb calls; reduces amount of created objects
2012-11-29 17:11:51 -06:00
waddlesplash
32fbf687ab
Refactor names in various files.
...
web/viewer.js
src/fonts.js (& remove unused global)
src/evaluator.js
src/canvas.js
2012-11-10 14:59:13 -05:00
Yury Delendik
37fb625e87
Fixes lineWidth/scale calculation for the fonts
2012-11-02 08:10:22 -05:00
Yury Delendik
1f084053e6
Merge pull request #2313 from yurydelendik/issue-1905
...
Fixes incomplete restore in paintFormXObject
2012-10-29 12:09:11 -07:00
Yury Delendik
69b72078c0
Separate page objects/images from the fonts; does not store large images
2012-10-28 15:24:54 -05:00
Yury Delendik
4c533d065d
Fixes incomplete restore in paintFormXObject
2012-10-26 23:30:01 -05:00
Adil Allawi
88bd912840
Clear unused code
2012-10-23 04:31:01 -07:00
Brendan Dahl
c31c79761c
Merge pull request #2240 from yurydelendik/fix-text-clipping
...
Fixes text clipping
2012-10-15 15:27:44 -07:00
Yury Delendik
ab058dbe75
Fixes text clipping
2012-10-15 12:52:37 -05:00
Brendan Dahl
565d13f670
Merge pull request #2213 from yurydelendik/bug762657
...
Removes PutBinaryImageData compatibility check (re:bug 762657)
2012-10-15 08:58:24 -07:00
Yury Delendik
b5f952a63a
Fixes font debugger; text builder api refactoring
2012-10-09 08:25:41 -05:00
Yury Delendik
ee133197ee
Removes PutBinaryImageData compatibility check (re:bug 762657)
2012-10-07 21:09:00 -05:00
Julian Viereck
e48530d391
Fix AppendText after API changes
2012-09-20 22:09:03 +02:00
Julian Viereck
a33ba145bf
Don't compute the string for the TextLayer in the canvas backend anymore and change the syntax of appendText
2012-09-20 17:15:55 +02:00
Julian Viereck
43f2db30b3
Fix current.x for type3 font word break
2012-09-19 22:19:21 +02:00
Yury Delendik
ac7b6aeff4
Provides right fallback fonts for text layer
2012-09-14 11:17:35 -07:00
Yury Delendik
e086cf36f4
Refactor text extraction / font loading logic
2012-09-13 15:12:42 -07:00
Brendan Dahl
332ae4ce41
Change to the Apache v2 license.
2012-08-31 15:48:21 -07:00
Yury Delendik
55b3b005b8
Using createImageData when available
2012-08-09 13:40:40 -05:00
Yury Delendik
65bc78d870
Using fast pixels copy in putBinaryImageData
2012-08-09 10:41:18 -05:00
Brendan Dahl
2ca8c0d999
Cleanup references to dom elements.
2012-08-08 09:07:31 -07:00
Yury Delendik
41a4272463
Implement textRise; reduce ref test to one page
2012-08-01 15:10:48 -05:00