Commit Graph

1265 Commits

Author SHA1 Message Date
Chris Jones
96796619c2 fix rendering of some symbols. Patch by Vivien Nicolas. 2011-06-23 15:36:53 -07:00
Vivien Nicolas
a4bb3cba5b Merge remote branch 'upstream/master' 2011-06-24 00:29:32 +02:00
Vivien Nicolas
b361450fca Merge remote branch 'upstream/master' 2011-06-24 00:29:32 +02:00
Chris Jones
a85c31b2c0 Merge pull request #45 from jviereck/master
WebWorker support
2011-06-23 15:21:10 -07:00
Chris Jones
ba3c700bec Merge pull request #45 from jviereck/master
WebWorker support
2011-06-23 15:21:10 -07:00
Rob Sayre
f212637433 Remove invalid trailing commas. 2011-06-23 15:09:17 -07:00
Rob Sayre
42b6d23bda Remove invalid trailing commas. 2011-06-23 15:09:17 -07:00
Julian Viereck
8cd986f15a Small rebase tidyup + cleanup 2011-06-23 23:55:14 +02:00
Julian Viereck
67e1d0597b Small rebase tidyup + cleanup 2011-06-23 23:55:14 +02:00
Vivien Nicolas
e953f2363c Merge remote branch 'upstream/master' 2011-06-23 23:42:01 +02:00
Vivien Nicolas
fa4f81e522 Merge remote branch 'upstream/master' 2011-06-23 23:42:01 +02:00
Julian Viereck
d1b75dd633 Replace tic & toc by console.time/timeEnd 2011-06-23 23:33:25 +02:00
Julian Viereck
e24796173e Replace tic & toc by console.time/timeEnd 2011-06-23 23:33:25 +02:00
Julian Viereck
3bef1534b4 Reverts parts of 60f4d16360: Use old font-is-loaded mechanism + some code refactoring to add bindDOM and bindWorker. 2011-06-23 23:33:25 +02:00
Julian Viereck
b47ec059c7 Reverts parts of 60f4d16360: Use old font-is-loaded mechanism + some code refactoring to add bindDOM and bindWorker. 2011-06-23 23:33:25 +02:00
Julian Viereck
d6239571e9 Clear the main canvas right before the next rendering begins. Keeps the canvas from beeing blank for a few ms 2011-06-23 23:33:25 +02:00
Julian Viereck
d856e7c572 Clear the main canvas right before the next rendering begins. Keeps the canvas from beeing blank for a few ms 2011-06-23 23:33:25 +02:00
Julian Viereck
4b27045d2e Ensure divs used to make fonts load are not visible 2011-06-23 23:33:25 +02:00
Julian Viereck
171ab51c56 Ensure divs used to make fonts load are not visible 2011-06-23 23:33:25 +02:00
Julian Viereck
f256716022 Fix WebWorker logging and add separate timing for fonts. 2011-06-23 23:33:25 +02:00
Julian Viereck
c35e1e7552 Fix WebWorker logging and add separate timing for fonts. 2011-06-23 23:33:25 +02:00
Julian Viereck
f32dfa9414 Fix sending image data to main thread 2011-06-23 23:33:24 +02:00
Julian Viereck
37ee56a705 Fix sending image data to main thread 2011-06-23 23:33:24 +02:00
Julian Viereck
da7f555fd7 Change postMessage to send only one object that holds the action and data. 2011-06-23 23:33:24 +02:00
Julian Viereck
78129970c6 Change postMessage to send only one object that holds the action and data. 2011-06-23 23:33:24 +02:00
Julian Viereck
a3d815074d First pass on review: worker.js -> pdf_worker.js, Font.bind cleanup + other stuff 2011-06-23 23:33:24 +02:00
Julian Viereck
229edf24d4 First pass on review: worker.js -> pdf_worker.js, Font.bind cleanup + other stuff 2011-06-23 23:33:24 +02:00
Julian Viereck
4281f799e5 Move client code into worker_client.js. Cleanup + comments + 2-space-indention 2011-06-23 23:33:24 +02:00
Julian Viereck
405c367ece Move client code into worker_client.js. Cleanup + comments + 2-space-indention 2011-06-23 23:33:24 +02:00
Julian Viereck
08405fa618 Fix putImageData. Needs to be copied byte by byte. 2011-06-23 23:33:24 +02:00
Julian Viereck
5e02659eb7 Fix putImageData. Needs to be copied byte by byte. 2011-06-23 23:33:24 +02:00
Julian Viereck
0746c7db59 Add PatternProxy; makes page 13 work 2011-06-23 23:33:24 +02:00
Julian Viereck
34e79aca08 Add PatternProxy; makes page 13 work 2011-06-23 23:33:24 +02:00
Julian Viereck
22bdd50a98 Merge ImageCanvasProxy and CanvasProxy. Add support for rendering multiple canvas objects on the worker and assemble them again on the main thread. 2011-06-23 23:33:24 +02:00
Julian Viereck
897ac256fc Merge ImageCanvasProxy and CanvasProxy. Add support for rendering multiple canvas objects on the worker and assemble them again on the main thread. 2011-06-23 23:33:24 +02:00
Julian Viereck
000d640258 Replace ImageCanvas by ScratchCanvas 2011-06-23 23:33:23 +02:00
Julian Viereck
c9c24ee5c3 Replace ImageCanvas by ScratchCanvas 2011-06-23 23:33:23 +02:00
Julian Viereck
50d902d9eb Make the ProxyCanvas be more a canvas - provide a ctx object to interact through 2011-06-23 23:33:23 +02:00
Julian Viereck
b17bf4b20e Make the ProxyCanvas be more a canvas - provide a ctx object to interact through 2011-06-23 23:33:23 +02:00
Julian Viereck
fe7c8b52f6 Add very simple GradientProxy support - makes page 11 render. 2011-06-23 23:33:23 +02:00
Julian Viereck
29e5db5d15 Add very simple GradientProxy support - makes page 11 render. 2011-06-23 23:33:23 +02:00
Julian Viereck
2c17af3720 Add JpegStreamProxy - doesnt seem to be used anywhere in the example.pdf file 2011-06-23 23:33:23 +02:00
Julian Viereck
04cec20384 Add JpegStreamProxy - doesnt seem to be used anywhere in the example.pdf file 2011-06-23 23:33:23 +02:00
Julian Viereck
e2cd5facbd Fix font loading issue by using a hidden DOM font node 2011-06-23 23:33:23 +02:00
Julian Viereck
ddd8aeffb9 Fix font loading issue by using a hidden DOM font node 2011-06-23 23:33:23 +02:00
Julian Viereck
52a117d32a Fixing some smaller bugs & do some cleanup. viewer_worker.html UI is now 2011-06-23 23:33:23 +02:00
Julian Viereck
4f10e93f8c Fixing some smaller bugs & do some cleanup. viewer_worker.html UI is now 2011-06-23 23:33:23 +02:00
Julian Viereck
39ac389a7e Get working for not real images 2011-06-23 23:33:22 +02:00
Julian Viereck
d99dc718c5 Get working for not real images 2011-06-23 23:33:22 +02:00
Julian Viereck
fc007b99d0 Introduce ImageCanvas to handle canvas rendering in WebWorker 2011-06-23 23:33:22 +02:00