Commit Graph

1933 Commits

Author SHA1 Message Date
Julian Viereck
e6bd3d8105 Backup 2011-10-01 11:44:01 +02:00
Julian Viereck
86b8f12b92 Ensure dependent font data is available before calling startRenderingIRQueue 2011-09-30 15:38:54 +02:00
Julian Viereck
cc661f44af Fix regression in PDFFunction 2011-09-16 09:32:10 -07:00
Julian Viereck
00290b9ff4 Rename some stuff and add missing font_handler.js 2011-09-16 09:31:12 -07:00
Julian Viereck
921f8bd669 Tried to add a destroy function to free memeory, but doesn't seem to help 2011-09-16 08:09:58 -07:00
Julian Viereck
20d8a13c9e Don't stop executeIRQueue if there is no continueCallback. What a wonderful world it would be with generators :( 2011-09-16 00:22:20 -07:00
Julian Viereck
0f6bf30228 Add dependency for dependecies on sub getIRQueue 2011-09-16 00:11:23 -07:00
Julian Viereck
8f21f87fd9 Add firstPage option to tasks to speed up testing certain pages 2011-09-15 23:36:08 -07:00
Julian Viereck
06cef910fb Cleanup Moz support in FontLoader 2011-09-15 23:27:22 -07:00
Julian Viereck
16e4d4ed97 Add support for WebKit using measure on canvas method 2011-09-15 23:14:35 -07:00
Julian Viereck
5ecbc64d8d Backup 2011-09-15 22:46:44 -07:00
Julian Viereck
8e36114cfa If the font isn't supported, don't handle it 2011-09-15 21:54:47 -07:00
Julian Viereck
845230d8b0 Ensure fonts loaded in caes you load fonts out of line 2011-09-15 15:08:53 -07:00
Julian Viereck
9e84dd35b6 Add Objects.clear() and fallback for testStr in FontMeasure 2011-09-15 14:06:24 -07:00
Julian Viereck
fa9f9e0a7a Fix rebasing 2011-09-15 13:17:10 -07:00
Julian Viereck
22e938d53f Addd font logs 2011-09-15 13:17:09 -07:00
Julian Viereck
18ce3ebaed Just use imageData directly on Gecko 2011-09-15 13:17:09 -07:00
Julian Viereck
9d2806ec87 Use canvas measureText to detect font loading 2011-09-15 13:17:09 -07:00
Julian Viereck
966cbc2112 Add FontShape.getRule which returns the name for the ctx object 2011-09-15 13:17:09 -07:00
Julian Vierec
86681a8d25 Add Objects.setData and Promise.data to set the data before the object/promise is resolved 2011-09-15 13:17:09 -07:00
Julian Viereck
6dcf9f42a5 Make font processing happen in a worker 2011-09-15 13:17:09 -07: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
d639a9a94a Remove no longer needed worker files, rename boot to boot_processor 2011-09-15 13:16:03 -07:00
Julian Viereck
6e9306afd2 Remove console.logs from previous commit again 2011-09-15 13:16:03 -07:00
Julian Viereck
e15bfc00a0 Fixing font loading issues 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
32ae879219 Stop the execution if it takes longer then a certain amount of time and reshedule it 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
90da4fc831 Ensure to call the pageDone callback after it's really done 2011-09-15 09:05:04 -07:00
Julian Viereck
342547831d Adding back bug in constructInterpolatedFromIR to get refTest passing in openweb.pdf 2011-09-15 09:05:04 -07:00
Julian Viereck
cda4c04312 Removing some console.log statements. 2011-09-15 09:05:04 -07:00
Julian Viereck
c370b8a428 Ensure things work for default fonts like Arial 2011-09-15 09:05:04 -07:00
Julian Viereck
a2bf701bfe Implement endInlineImage IR 2011-09-15 09:03:51 -07:00
Julian Viereck
7ee894c09c fontFile doesn't have to be a FlateStream. complex_ttf_font.pdf 2011-09-15 09:03:51 -07:00
Julian Viereck
2b7ff49d8d Fix constructInterpolatedFromIR + fix indexing i that should be j 2011-09-15 09:03:51 -07:00
Julian Viereck
755399a755 Fix TilingPattern + implement DummyShading IR form 2011-09-15 09:03:51 -07:00
Julian Viereck
9dcefe1efc Add PDFFunction to IR support + complete ColorSpace SeparationCS IR support 2011-09-15 09:03:50 -07:00
Julian Viereck
8572c29c55 Fix missing parameter for RadialAxialShading 2011-09-15 09:03:50 -07:00
Julian Viereck
4e3f87b60c Make ColorSpace Separation work as long as no IR form is needed for now 2011-09-15 09:03:50 -07:00
Julian Viereck
fea3388c41 Make testdriver use new worker infrastructure 2011-09-15 09:03:50 -07:00
Julian Viereck
89afa69395 Fix rendering of fonts on Firefox + turn worker on again.
Seems like Gecko requires the fontName to start with a character, not a number.
2011-09-15 09:03:50 -07:00
Julian Viereck
7e3bbccaae Add dependency management for loading images that causes the execution to halt if the dependency isn't satisfied during executing time 2011-09-15 09:03:50 -07:00
Julian Viereck
e7b636dba4 Flattern the IRQueue to make it easier to reexecute and have no nested state 2011-09-15 09:02:25 -07:00
Julian Viereck
443bb84cd6 Add very simple Promise object 2011-09-15 09:02:25 -07:00
Julian Viereck
2269bcccfa [Cleanup] Remove no longer needed Patter.parse and TilingPattern. functions 2011-09-15 09:02:25 -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
a7d1c84c92 Make ColorSpace.parse use ColorSpace.toIR and .fromIR to make use of only one codepath 2011-09-15 09:00:46 -07:00
Julian Viereck
1c30fda577 Implement ColorSpace IR forms for Pattern and Indexed 2011-09-15 08:59:52 -07:00