Yury Delendik
48436b6a0f
Fixes smask backdrop
11 years ago
Yury Delendik
bf432a37bb
Refactors shared/pattern.js into core/ and display/
11 years ago
Yury Delendik
4054b0c385
SMask emulation
11 years ago
Yury Delendik
09f8f951c8
Extracts evaluator preprocessor and refactor text extraction
11 years ago
Nicholas Nethercote
4332c2fabe
Do createImageData/putImageData in chunks, to save memory.
11 years ago
Yury Delendik
7e75a665d2
Checks if subpixel-aa enabled before scaling the fonts
11 years ago
Yury Delendik
1991efe4f0
Fixes type3 glyph compilation for bitpacked mask
11 years ago
Nicholas Nethercote
3f533a1cb0
Use a more compact typed array to pass the image mask from the worker to the main thread.
11 years ago
Yury Delendik
0131101275
Takes ascent/descent in account in the text layer
11 years ago
Yury Delendik
5bf3e44e30
Introduces LegacyPromise; polyfills DOM Promise
11 years ago
Brendan Dahl
2228343f77
Only trigger warning bar on certain unsupported features.
11 years ago
Yury Delendik
d72c94f4a3
Comment fix: shedule -> schedule
12 years ago
Brendan Dahl
3ac89aacd2
Remove slow commands check.
12 years ago
Brendan Dahl
f4942b11f8
Reduce the memory usage of the operator list.
12 years ago
Jonas Jenwald
4ae3802484
Fix undefined group bounding box
12 years ago
Brendan Dahl
29b89f1f1e
Intersect group bounding box with the current canvas dimensions.
12 years ago
Mitar
940c77f6c9
instanceof HTMLElement does not work in jsdom node.js module.
12 years ago
Brendan Dahl
bb2529de03
Move the creation of canvas path fonts to the worker.
12 years ago
Yury Delendik
b8143b394c
Reduce max size for pattern and limit group canvases
12 years ago
Brendan Dahl
5ecce4996b
Split files into worker and main thread pieces.
12 years ago
Brendan Dahl
efa8f561a5
Move chars to glyphs conversion to the worker.
12 years ago
Brendan Dahl
bf72bc94e2
Incrementally render by sending the operator list by chunks as they're ready.
12 years ago
Brendan Dahl
55d6ede1da
Create only one instance of each device colorspace.
12 years ago
Brendan Dahl
2aecbe874e
Paint patterns relative to content base transformation.
12 years ago
Srishti
6c3e5e5d92
Fixing the offset of vertical CJK text
12 years ago
Yury Delendik
3461d02d05
Enforces trailing spaces
12 years ago
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