Commit Graph

42 Commits

Author SHA1 Message Date
Julian Viereck
b832aa5c1e Address latest review comments by Artur 2011-10-13 20:30:55 +02:00
Julian Viereck
1b69ca80a6 Remove commented out code and change some comments to fit current code state 2011-10-11 19:51:35 +02:00
Julian Viereck
20a348fc0c Fix lint errors 2011-10-09 10:51:36 +02:00
Julian Viereck
90e2546ea3 Process fonts on main thread again - font handling works again 2011-10-08 22:22:30 +02:00
Julian Viereck
75884a6160 Hack something up that renders font right again 2011-10-08 18:15:18 +02:00
Julian Viereck
8929e6b349 Move WorkerPDFDoc to pdf.js. Rename PDFDoc -> PDFDocModel + WorkerPDFDoc -> PDFDoc. This is required until the worker code doesn't depend on an PDFDoc instance anymore 2011-10-08 15:19:48 +02:00
Julian Viereck
3054102d3b Merge worker_pull with master 2011-10-08 14:18:23 +02:00
Julian Viereck
d7521f758a Merge font and processor working into one worker and fix some bugs in font-loading-data-ready code 2011-10-05 22:24:38 +02:00
Julian Viereck
86b8f12b92 Ensure dependent font data is available before calling startRenderingIRQueue 2011-09-30 15:38:54 +02:00
Kalervo Kujala
2094c29169 Use data directly in PDFDoc.
And create the Stream inside the PDFDoc constructor for a cleaner interface.
Also encapsulate unnecessary details from the user.
2011-09-26 20:58:18 +03:00
notmasteryet
7036bcd4c7 Zero gjslint warnings mark 2011-09-18 14:44:57 -05:00
Julian Viereck
00290b9ff4 Rename some stuff and add missing font_handler.js 2011-09-16 09:31:12 -07:00
Kalervo Kujala
07254bb0a5 Fix small lint warnings. 2011-09-15 23:32:44 +03:00
Julian Viereck
e9fff5968e Remove worker/boot.js 2011-09-15 13:17:09 -07:00
Julian Viereck
9eb7858586 Fix 2011-09-15 13:16:03 -07:00
Julian Viereck
dd9aea21e9 Trying to implement progressive font rendering. Works on FF, but Chrome doesn't catchup the fonts 2011-09-15 13:16:03 -07:00
Julian Viereck
ac11f30ae9 Send JpegStreams to the main thread ASAP. No need for ImagesLoader anymore 2011-09-15 13:16:03 -07:00
Julian Viereck
a228753414 Add missing metrics.js for worker 2011-09-15 13:13:00 -07:00
Julian Viereck
cda4c04312 Removing some console.log statements. 2011-09-15 09:05:04 -07:00
Julian Viereck
a2bf701bfe Implement endInlineImage IR 2011-09-15 09:03:51 -07:00
Julian Viereck
790816bbdd Use all over the place and cleanup/renomve not longer needed code 2011-09-15 09:02:25 -07:00
Julian Viereck
d887d2bd29 Implement paintReadyJpegXObject + add infrastructure to handle JpegStreams 2011-09-15 08:24:29 -07:00
Julian Viereck
ac4a57e858 Refactor to execute IR on main thead by posting messages to itself 2011-09-15 08:20:43 -07:00
Julian Viereck
a3baea5fcb Make shadingFill IR form 2011-09-15 08:20:43 -07:00
Julian Viereck
89167c0b40 Saving last work 2011-09-15 08:20:43 -07:00
Julian Viereck
aa8699a334 Don't display cmds used on the page by default + turn on worker support for now again 2011-09-15 08:20:43 -07:00
Julian Viereck
eca8f6b80b Working towards embedded image support 2011-09-15 08:20:42 -07:00
Julian Viereck
cc17707da6 First page is rendering using new worker infrastructure 2011-09-15 08:20:03 -07:00
Julian Viereck
71ff8ee586 backup 2011-09-15 08:18:57 -07:00
Kalervo Kujala
8e5a8fb49f Fix Mode comment lines. 2011-09-12 20:37:33 +03:00
Rob Sayre
ebeff10a9a Merge upstream. 2011-07-05 23:23:12 -07:00
Rob Sayre
f5a3587dde Almost passing gjslint. 2011-07-05 23:06:45 -07:00
notmasteryet
a82536881d Compatibility hacks for IE, Opera, Safari 2011-07-01 16:59:20 -05:00
Julian Viereck
391c26b407 Make worker work again after latest font changes 2011-06-30 14:25:57 +02:00
notmasteryet
5ece4da552 the "hieght" and the 72dpi<->96dpi fixes 2011-06-29 22:43:59 -05:00
Julian Viereck
31e9bea5c9 Make worker code work with latest font code changes 2011-06-29 14:26:38 +02:00
Julian Viereck
803139127a Use Font.prototype.bindDOM to insert fonts on page 2011-06-28 09:51:49 +02:00
Julian Viereck
1ac7064cad Add more timing logs 2011-06-28 08:06:40 +02:00
Julian Viereck
23e9064f17 Make all fonts render. Use encoding from FontWorker. Render canvas if id!=0 although fonts haven't arrived yet.
Conflicts:

	worker/pdf.js
2011-06-28 08:06:40 +02:00
Julian Viereck
c1834c1bb5 Make sure to reset callbacks array and get more fonts working 2011-06-28 08:06:40 +02:00
Julian Viereck
b00df76044 First pass on FontWorker 2011-06-28 08:06:40 +02:00
Julian Viereck
c712712e67 Move all worker related files under worker/ 2011-06-28 08:06:39 +02:00