840 Commits

Author SHA1 Message Date
notmasteryet
dcd4f2ea61 Add LF to isSpace; pass ImageLoader when a pattern is processed 2011-09-20 19:04:12 -05:00
=
31d64af855 Handle missing encoding differences array 2011-09-20 15:42:52 -07:00
Kalervo Kujala
74cddad433 Align switch cases properly. 2011-09-19 23:17:58 +03:00
vingtetun
7a81e79138 Merge pull request #466 from notmasteryet/charstoglyphs
Refactoring charsToUnicode into charsToGlyphs
2011-09-19 07:34:46 -07:00
notmasteryet
7036bcd4c7 Zero gjslint warnings mark 2011-09-18 14:44:57 -05:00
notmasteryet
e59a36a015 Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into charstoglyphs 2011-09-18 09:11:53 -05:00
notmasteryet
391ec1f99a Moving defaultWidth into the charsToGlyphs function 2011-09-18 09:11:31 -05:00
Chris Jones
537eb8f47b Merge pull request #488 from notmasteryet/issue-484-a
Fixing double metrics issue for glyphs (#484)
2011-09-17 19:42:13 -07:00
notmasteryet
0b1b8da982 Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into charstoglyphs
Conflicts:
	test/test_manifest.json
2011-09-17 11:23:34 -05:00
notmasteryet
1d00b89285 Modifying how the artofwar encryption handled; add wdsg_fitc as reftest 2011-09-17 10:32:42 -05:00
notmasteryet
fc574f646a Fixing double metrics issue for glyphs (#484) 2011-09-16 22:49:43 -05:00
Julian Viereck
cc661f44af Fix regression in PDFFunction 2011-09-16 09:32:10 -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
8e36114cfa If the font isn't supported, don't handle it 2011-09-15 21:54:47 -07:00
notmasteryet
582b760a65 Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into charstoglyphs 2011-09-15 19:50:55 -05:00
notmasteryet
10a2fa66c2 Fixing defaultWidth; variables names 2011-09-15 19:26:32 -05: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
Kalervo Kujala
07254bb0a5 Fix small lint warnings. 2011-09-15 23:32:44 +03:00
Julian Viereck
18ce3ebaed Just use imageData directly on Gecko 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
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
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
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
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