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
Yury Delendik
e086cf36f4
Refactor text extraction / font loading logic
13 years ago
Brendan Dahl
332ae4ce41
Change to the Apache v2 license.
13 years ago
Yury Delendik
55b3b005b8
Using createImageData when available
13 years ago
Yury Delendik
65bc78d870
Using fast pixels copy in putBinaryImageData
13 years ago
Brendan Dahl
2ca8c0d999
Cleanup references to dom elements.
13 years ago
Yury Delendik
41a4272463
Implement textRise; reduce ref test to one page
13 years ago
Brendan Dahl
24a3e0c8cc
Don't trigger TODO on marked content.
13 years ago
Yury Delendik
d5da15e001
Fixes brackets
13 years ago
Yury Delendik
50b86ff480
Move putImageData
13 years ago
Yury Delendik
81681e7914
Pre-scale image in the paintImageMaskXObject
13 years ago
Brendan Dahl
034583e1a1
Add new severity log info(). Change severity of some log messages. Trigger fallback on errors and warnings for extension.
13 years ago
Yury Delendik
47c43b5779
Removing the rotatePoint, width, height from the API
13 years ago
Kalervo Kujala
99440ab691
Refactor class method names.
...
Also move functionality to more logical place in canvas.js and jpx.js.
13 years ago
gigaherz
c6d7e654ee
Replace variables named 'char'=>'character', 'byte'=>'octet' and field '.private'=>'.privateData'. This allows pdf.js to compile with Google's Closure Compiler.
13 years ago
Brendan Dahl
7008d07fde
Fix gradients for fill and stroke.
13 years ago
notmasteryet
bcdf7b46c5
Fixing advance after disabled symbols
13 years ago
notmasteryet
72355121a0
Don't print missing symbols in the font
13 years ago