294 Commits

Author SHA1 Message Date
Andreas Gal
100d329804 Merge pull request #53 from vingtetun/master
Merge TTF font rewriting to pass the font sanitization pass.
2011-06-22 11:42:06 -07:00
Chris Jones
fc4e4e79c6 add TODO() for Shading Pattern 2011-06-22 02:37:59 -07:00
Vivien Nicolas
636f99c25e Merge remote branch 'upstream/master' 2011-06-22 11:31:24 +02:00
Chris Jones
edb69dff59 TODO() for 4-component-per-pixel images 2011-06-22 02:23:15 -07:00
Chris Jones
d32cbedd06 TODO() for radial shading 2011-06-22 02:17:45 -07:00
Chris Jones
0a74ec7759 band-aid lack of Indexed color space 2011-06-22 02:10:08 -07:00
Vivien Nicolas
4f7fb7539b Enhance the converter code by filling Format 6 dense array gaps 2011-06-22 10:56:31 +02:00
Chris Jones
c506cb5e04 deal with apparent lack of FontDescriptor for standard fonts 2011-06-22 01:50:43 -07:00
Andreas Gal
fc0deffe0f fix typo 2011-06-22 02:36:34 -04:00
Andreas Gal
afecf35ff5 fix other cases of reading this.buffer before ensureBuffer, too 2011-06-22 02:35:42 -04:00
Andreas Gal
9748c1a754 ensureBuffer can modify this.buffer, so read it after ensureBuffer 2011-06-22 02:34:26 -04:00
sbarman
0a4586a58f Merge pull request #48 from sbarman/ascii85
Ascii85Stream
2011-06-21 22:57:15 -07:00
sbarman
e3ecfb00b6 moved array allocation to consturctor 2011-06-21 22:53:47 -07:00
Vivien Nicolas
e9ed96d97c Start of a TTF Format6 to Format4 converter (sigh) 2011-06-22 07:46:41 +02:00
sbarman
f79f77174c clean up code 2011-06-21 22:43:03 -07:00
sbarman
42f8b52639 made Ascii85Stream be a child of DecodeStream 2011-06-21 22:39:38 -07:00
Andreas Gal
55df4f40cb avoid frequent calls to ensureBuffer during decompression 2011-06-22 01:12:27 -04:00
sbarman
61b482c1fa Merge branch 'master' into ascii85 2011-06-21 22:04:21 -07:00
sbarman
a215ef5ae8 fixed indent 2011-06-21 21:51:54 -07:00
sbarman
438c565f45 rewrote prototype inhertence 2011-06-21 21:48:50 -07:00
sbarman
20556026cd work in progress on ascii85 2011-06-21 21:26:48 -07:00
sbarman
f2952ec296 modified Ascii85Stream to be more like other streams 2011-06-21 21:12:50 -07:00
Vivien Nicolas
595a384ca7 Support Format 6 cmap table, but does not pass the sanitizer yet 2011-06-22 04:41:31 +02:00
sbarman
99ffc9991e rewrote streams to be object oriented 2011-06-21 17:02:50 -07:00
sbarman
e0853abdda combined redudent code in Stream 2011-06-21 15:16:04 -07:00
sbarman
4ced049513 fixed getBytes in Ascii85Stream 2011-06-21 14:34:13 -07:00
Chris Jones
8f6006137d fix typo 2011-06-21 13:56:49 -07:00
Chris Jones
1c3be696af Don't error out for FontFile3 descriptors. 2011-06-21 13:40:21 -07:00
sbarman
0073e3c618 initial impl of ASCII85 Decoding 2011-06-21 13:34:35 -07:00
Vivien Nicolas
34357eac19 Start displaying TrueType fonts 2011-06-21 21:11:59 +02:00
Andreas Gal
51b9659f55 whitespace fixes and move inheriting of dict props into the page since it only happens there 2011-06-21 15:05:33 -04:00
Andreas Gal
ca75b31e84 indentation fix 2011-06-21 14:42:41 -04:00
sbarman
505bb3ed10 minor fix to render page, add F command, added inhertable dictionary entries 2011-06-21 10:49:02 -07:00
Andreas Gal
ec278e5724 don't die when translating fonts without a charset 2011-06-21 03:42:01 -04:00
Andreas Gal
8eb589c9dc style fixes and fix bug in numComps calculation (missing break) 2011-06-21 03:04:33 -04:00
sbarman
bae46a9187 removed redundant getChar 2011-06-20 22:44:08 -07:00
sbarman
0fbaaa005d Merge branch 'master' into predictor 2011-06-20 22:42:26 -07:00
sbarman
9c34d0ca3a Merge branch 'master' of github.com:andreasgal/pdf.js 2011-06-20 22:42:07 -07:00
andreasgal
e49850d5c5 Merge pull request #30 from vingtetun/master
Add a fake name table to works with Firefox trunk
2011-06-20 21:57:58 -07:00
Vivien Nicolas
2315131b90 Get rid of the TrueType class, adapt the code to conventions and new code 2011-06-21 06:49:59 +02:00
notmasteryet
4f11c5c342 Fixes 09061a2cc48da67768b regression, spaces, and default value for type 2011-06-20 22:55:32 -05:00
sbarman
dbaf83d53f working implementation of png and tiff predictors 2011-06-20 20:45:29 -07:00
sbarman
9d4f31a494 cleaned up code 2011-06-20 20:41:24 -07:00
sbarman
f5a1d90b85 cleaned up code 2011-06-20 20:28:48 -07:00
sbarman
d32cf251c7 Bug fix when an array of filters is passed in 2011-06-20 20:19:13 -07:00
sbarman
4b391d1b83 working implementation of png and tiff predictors 2011-06-20 19:51:36 -07:00
Andreas Gal
6dc6f5d533 restore getChar in JpegStream 2011-06-20 22:39:49 -04:00
Vivien Nicolas
8523896023 Rename s2a, s16, s32 and do some dance inside the bind() code 2011-06-21 04:30:28 +02:00
Vivien Nicolas
8787e7cbe9 Fix some leftovers 2011-06-21 03:05:28 +02:00
Vivien Nicolas
10944be385 Merge with master 2011-06-21 03:01:59 +02:00