Commit graph

852 commits

Author SHA1 Message Date
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
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
Julian Viereck
a83f49133e [Cleanup] Renomve no longer needed RadialAxialShading.prototype.getPattern as toIR is called all the time 2011-09-15 08:59:52 -07:00
Julian Viereck
f369bd3ed0 [Cleanup] Rename Raw to IR 2011-09-15 08:24:30 -07:00
Julian Viereck
e7fa637bf4 Remove no longer needed code and rename IR forms to the standard ones 2011-09-15 08:24:30 -07:00
Julian Viereck
62afa95fe1 Add support for image xObjs with imageMask 2011-09-15 08:24:30 -07:00
Julian Viereck
d887d2bd29 Implement paintReadyJpegXObject + add infrastructure to handle JpegStreams 2011-09-15 08:24:29 -07:00
Julian Viereck
5bfa9e4f3b Add some comments + fix getColorN_IR_Pattern 2011-09-15 08:21:23 -07:00
Julian Viereck
5543d6f448 Move getting the Pattern from IR form out and make setStrokeColorN_IR work 2011-09-15 08:21:23 -07:00
Julian Viereck
9e3de8b339 Add shading support for setFillColorN_IR - is that used at all? 2011-09-15 08:21:23 -07:00
Julian Viereck
cdc937a1a4 Fix missing curMatrix variable bug to get TM paper work in Nightly 2011-09-15 08:21:23 -07:00
Julian Viereck
c77c6d524c Add setFillColorN_IR by implementing new TilingPatternIR 2011-09-15 08:21:23 -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
5c1262e13b Add limited support for setFill/StrokeColorSpace 2011-09-15 08:20:43 -07:00
Julian Viereck
2fcc93c751 Make xObjForm use raw format 2011-09-15 08:20:43 -07:00
Julian Viereck
67f745443e Add support for xobj embedded images that are not rendered by the platform + has no mask 2011-09-15 08:20:42 -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
Julian Viereck
0134143c67 Split compilation up in preCompile and Compile. 2011-09-15 08:17:19 -07:00
Julian Viereck
e3dd329739 Move ensureFont code part of Page into its own function 2011-09-15 08:16:49 -07:00
Julian Viereck
2c51c6fb9e Set loadedName in Partial Eval 2011-09-15 08:13:13 -07:00
Julian Viereck
e9f4a3d8ee Need to use font.translated.name as unique identifier 2011-09-15 08:12:28 -07:00
Julian Viereck
6dd82ad5d4 Track loaded such that setFont doesnt need to touch xref anymore 2011-09-15 08:12:27 -07:00
notmasteryet
1347db797c Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into charstoglyphs
Conflicts:
	test/test_manifest.json
2011-09-14 21:45:12 -05:00
notmasteryet
e512000877 Fixing properties.widths is null issue; fips197 test file 2011-09-14 21:29:32 -05:00
Artur Adib
5587cce165 Check for continuation callback 2011-09-14 11:59:20 -07:00
Andreas Gal
4dd79a51c1 Merge pull request #474 from notmasteryet/tree-15
Fixing truncated streams with multiple filters
2011-09-13 20:15:49 -07:00
Chris Jones
78528b6d04 Merge pull request #473 from notmasteryet/tree-14
Fixing and optimizing isYcckImage()
2011-09-13 20:03:56 -07:00
notmasteryet
361d53e1a9 Fixing truncated streams with multiple filters 2011-09-13 22:03:46 -05:00
Andreas Gal
2132a2f57c Merge pull request #472 from notmasteryet/artofwar
Disable encryption when a ToUnicode stream is used in a font
2011-09-13 19:36:55 -07:00
notmasteryet
4e1a5296d2 Fixing and optimizing isYcckImage() 2011-09-13 20:24:24 -05:00
notmasteryet
94da20d776 Disable encryption when a ToUnicode stream is used in a font 2011-09-13 19:23:49 -05:00
Kalervo Kujala
7a421794a2 Use zeroes in PDFStringTranslateTable array instead of undefined. 2011-09-13 20:56:59 +03:00
Kalervo Kujala
9857287806 Use empty strings in zaph dingbats shadow encodings array instead of undefined. 2011-09-13 20:52:05 +03:00
Kalervo Kujala
67e264e579 Use empty strings in symbols shadow encodings array instead of undefined. 2011-09-13 20:47:13 +03:00
Kalervo Kujala
2b4e722a1c Use empty strings in win ansi shadow encodings array instead of undefined. 2011-09-13 20:42:31 +03:00
Kalervo Kujala
7a1c02bc9e Use empty strings in standard shadow encodings array instead of undefined. 2011-09-13 20:30:41 +03:00
Kalervo Kujala
68ceff4081 Use empty strings in mac roman shadow encodings array instead of undefined. 2011-09-13 20:17:05 +03:00
notmasteryet
40e0cb40a6 Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into charstoglyphs
Conflicts:
	fonts.js
2011-09-12 18:14:18 -05:00
Kalervo Kujala
9256a62304 Use empty strings in mac shadow encodings array instead of undefined. 2011-09-12 22:04:43 +03:00
Kalervo Kujala
30b8d1dd08 Use empty strings in shadow encodings array instead of undefined. 2011-09-12 21:05:52 +03:00
Kalervo Kujala
b5412c13d8 Fix gjslint warnings. 2011-09-12 20:42:55 +03:00