Commit Graph

498 Commits

Author SHA1 Message Date
Vivien Nicolas
40006194ea Don't read the lsb instead of the width 2011-06-24 03:01:41 +02:00
Vivien Nicolas
d704bfacf4 Fix Windows 'hmtx' bust table 2011-06-24 02:58:17 +02:00
Vivien Nicolas
0f1b9949b6 Remove code to handle FlateStream differently now that we have a sane interface 2011-06-24 02:45:58 +02:00
Vivien Nicolas
71da81b9de Merge branch 'master' of https://github.com/vingtetun/pdf.js 2011-06-24 01:39:55 +02:00
Vivien Nicolas
0a18434a2d Remove some useless var 2011-06-24 01:37:54 +02:00
Vivien Nicolas
a954769929 Merge remote branch 'upstream/master' 2011-06-24 01:01:35 +02:00
Chris Jones
96796619c2 fix rendering of some symbols. Patch by Vivien Nicolas. 2011-06-23 15:36:53 -07:00
Vivien Nicolas
b361450fca Merge remote branch 'upstream/master' 2011-06-24 00:29:32 +02:00
Chris Jones
ba3c700bec Merge pull request #45 from jviereck/master
WebWorker support
2011-06-23 15:21:10 -07:00
Julian Viereck
67e1d0597b Small rebase tidyup + cleanup 2011-06-23 23:55:14 +02:00
Vivien Nicolas
fa4f81e522 Merge remote branch 'upstream/master' 2011-06-23 23:42:01 +02:00
Julian Viereck
e24796173e Replace tic & toc by console.time/timeEnd 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
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
171ab51c56 Ensure divs used to make fonts load are not visible 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
37ee56a705 Fix sending image data to main thread 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
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
405c367ece Move client code into worker_client.js. Cleanup + comments + 2-space-indention 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
34e79aca08 Add PatternProxy; makes page 13 work 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
c9c24ee5c3 Replace ImageCanvas by ScratchCanvas 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
29e5db5d15 Add very simple GradientProxy support - makes page 11 render. 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
ddd8aeffb9 Fix font loading issue by using a hidden DOM font node 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
d99dc718c5 Get working for not real images 2011-06-23 23:33:22 +02:00
Julian Viereck
b151516416 Introduce ImageCanvas to handle canvas rendering in WebWorker 2011-06-23 23:33:22 +02:00
Julian Viereck
d9424a7135 Make fonts getting loaded by a very nasty hack 2011-06-23 23:33:22 +02:00
Julian Viereck
a8dcb0dcd6 Most working, but once you add the font-css file to the web page, there is no font drawn at all 2011-06-23 23:32:24 +02:00
Julian Viereck
f346014c12 Backup work 2011-06-23 23:30:54 +02:00
Vivien Nicolas
b9a53361f8 Remove some hardcoded glue 2011-06-23 23:15:22 +02:00
Vivien Nicolas
f240a5b811 Remove the ignoreFont variable 2011-06-23 22:22:46 +02:00
Vivien Nicolas
873d6df1f5 Fix bustage of the previous commit 2011-06-23 22:20:55 +02:00
Vivien Nicolas
59e178946a Add a createPostTable function and remove the useless join('') calls 2011-06-23 22:11:16 +02:00
Andreas Gal
236879b37c Merge pull request #63 from sbarman/uncompressedflate
Uncompressed flate
2011-06-23 12:05:38 -07:00
sbarman
a9684b20c8 Merge branch 'master' into uncompressedflate 2011-06-23 09:42:52 -07:00
sbarman
fd5412ac12 fix for uncompressed flatestream blocks 2011-06-23 09:41:59 -07:00
Andreas Gal
65ea7cecb9 Merge pull request #62 from sbarman/master
FakeStream to simulate filters which have not been implemented
2011-06-23 09:06:48 -07:00
sbarman
f6d4388b36 Merge branch 'master' of github.com:andreasgal/pdf.js 2011-06-23 08:05:00 -07:00
Andreas Gal
6da58a69d1 Merge pull request #61 from vingtetun/master
Fix some spacing issues with ligatures, hinting, ...
2011-06-22 21:00:36 -07:00
Chris Jones
0d4be031b9 fix bug in testing multiple browsers 2011-06-22 20:47:37 -07:00
Vivien Nicolas
7b454d403b Use the real content of the string to measure it's size 2011-06-23 05:38:05 +02:00
sbarman
553250a5d2 fake stream for unimplemented filters 2011-06-22 19:20:03 -07:00
Chris Jones
35b6569f5e fix strict-mode violations in chrome 2011-06-22 18:50:38 -07:00
Chris Jones
90b24079d5 remove debugging code 2011-06-22 18:40:20 -07:00
Chris Jones
541e4269eb actually wait for fonts to be loaded, and write out a log of failed eq comparisons 2011-06-22 18:37:58 -07:00