Srishti
21a8d62624
Fixes Text rotation issue #2095
12 years ago
fkaelberer
2cdd8de25a
compileType3Glyph cleanup
12 years ago
fkaelberer
220627b135
Faster type3 glyph outlines
12 years ago
Yury Delendik
339dc65082
Removes getImageData from canvas.js
12 years ago
Yury Delendik
336aa38f4a
Reset canvas state before drawing annotations
...
Conflicts:
src/core.js
12 years ago
Yury Delendik
9d588907a9
Outlines type3 glyph
12 years ago
Yury Delendik
0e133f0090
Drawing without fillText; refactoring ADD_TO_PATH
12 years ago
Mack Duan
f8f4b3f45d
Refactor code for annotations
12 years ago
Yury Delendik
9278abe738
Forces to measure "standard" fonts
12 years ago
Yury Delendik
abc890a9be
Adds fill('evenodd') as alternative for mozFillRule
12 years ago
Yury Delendik
d7808b0db6
Fixing pattern canvas transform for chrome
12 years ago
Brendan Dahl
15a9ab34d3
Lower two common warnings to info.
12 years ago
vyv03354
0ee757e22d
Increase minimum font size to 16px to avoid conflict with browser's minimum font size settings
12 years ago
Brendan Dahl
ecb04c8bbe
Use at least 1x1 pixel canvas for groups.
12 years ago
Brendan Dahl
bd7eba0d46
Add back mozOpaque.
12 years ago
Brendan Dahl
ec311f303b
Use white backdrop when possible.
12 years ago
Mack Duan
79831d7ec5
Support rendering appearance streams for annotations
12 years ago
Brendan Dahl
725cd5407f
Add basic support for transparency groups.
12 years ago
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.
12 years ago
Brendan Dahl
523aa9c152
Add support for blend modes.
12 years ago
Yury Delendik
8ee193892b
Seac support for Windows
12 years ago
vyv03354
9310e852db
Pass commonObjs to TilingPattern constructor
...
Broken example: http://www.eiken.or.jp/eiken/apply/private/flow/pdf/ichiji.pdf
12 years ago
vyv03354
1579c4778b
Fix spacing calculation of TJ operator
12 years ago
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
12 years ago
vyv03354
c5b8ee6a91
Implements vertical writing
12 years ago
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.
12 years ago
j
cd42ccd439
add imageLayer
...
add optional imageLayer object to access images and there
position and size as they are rendered on the canvas.
12 years ago
vyv03354
7dcbf7d2c3
Reduce warning spam caused by BX/EX
12 years ago
Yury Delendik
5cf0d8fa80
Enforces maxlen for jshint
12 years ago
Jon Buckley
98c2f96260
Issue #2008 - Fix lint errors for src/canvas.js
12 years ago
mduan
6bacb38692
Make canvas transform matrix account for devicePixelRatio
12 years ago
Yury Delendik
10bb6c9ec0
Refactors font matrix operations
12 years ago
Yury Delendik
1826daa1d5
Refactors rescaleImage: improving quality of scanned images
13 years ago
Yury Delendik
cae62341ac
Split large image groups into smaller chunks
13 years ago
Yury Delendik
d71c702dcf
Removes "too many inline images" limit
13 years ago
Brendan Dahl
39038b7377
Rescale regular images manually if they are too big.
13 years ago
Yury Delendik
a7f0e9612a
Using setDash for dashed lines
13 years ago
Yury Delendik
0029b34d45
Refactors getRgb and makeCssRgb calls; reduces amount of created objects
13 years ago
waddlesplash
32fbf687ab
Refactor names in various files.
...
web/viewer.js
src/fonts.js (& remove unused global)
src/evaluator.js
src/canvas.js
13 years ago
Yury Delendik
37fb625e87
Fixes lineWidth/scale calculation for the fonts
13 years ago
Yury Delendik
69b72078c0
Separate page objects/images from the fonts; does not store large images
13 years ago
Yury Delendik
4c533d065d
Fixes incomplete restore in paintFormXObject
13 years ago
Adil Allawi
88bd912840
Clear unused code
13 years ago
Yury Delendik
ab058dbe75
Fixes text clipping
13 years ago
Yury Delendik
b5f952a63a
Fixes font debugger; text builder api refactoring
13 years ago
Yury Delendik
ee133197ee
Removes PutBinaryImageData compatibility check (re:bug 762657)
13 years ago
Julian Viereck
e48530d391
Fix AppendText after API changes
13 years ago
Julian Viereck
a33ba145bf
Don't compute the string for the TextLayer in the canvas backend anymore and change the syntax of appendText
13 years ago
Julian Viereck
43f2db30b3
Fix current.x for type3 font word break
13 years ago
Yury Delendik
ac7b6aeff4
Provides right fallback fonts for text layer
13 years ago