Commit Graph

308 Commits

Author SHA1 Message Date
Julian Viereck
67e1d0597b Small rebase tidyup + cleanup 2011-06-23 23:55:14 +02:00
Julian Viereck
229edf24d4 First pass on review: worker.js -> pdf_worker.js, Font.bind cleanup + other stuff 2011-06-23 23:33:24 +02:00
Julian Viereck
34e79aca08 Add PatternProxy; makes page 13 work 2011-06-23 23:33:24 +02:00
Julian Viereck
c9c24ee5c3 Replace ImageCanvas by ScratchCanvas 2011-06-23 23:33:23 +02:00
Julian Viereck
4f10e93f8c Fixing some smaller bugs & do some cleanup. viewer_worker.html UI is now 2011-06-23 23:33:23 +02:00
Julian Viereck
b151516416 Introduce ImageCanvas to handle canvas rendering in WebWorker 2011-06-23 23:33:22 +02:00
Julian Viereck
d9424a7135 Make fonts getting loaded by a very nasty hack 2011-06-23 23:33:22 +02:00
Julian Viereck
a8dcb0dcd6 Most working, but once you add the font-css file to the web page, there is no font drawn at all 2011-06-23 23:32:24 +02:00
Julian Viereck
f346014c12 Backup work 2011-06-23 23:30:54 +02:00
sbarman
fd5412ac12 fix for uncompressed flatestream blocks 2011-06-23 09:41:59 -07:00
sbarman
f6d4388b36 Merge branch 'master' of github.com:andreasgal/pdf.js 2011-06-23 08:05:00 -07:00
Vivien Nicolas
7b454d403b Use the real content of the string to measure it's size 2011-06-23 05:38:05 +02:00
sbarman
553250a5d2 fake stream for unimplemented filters 2011-06-22 19:20:03 -07:00
Chris Jones
35b6569f5e fix strict-mode violations in chrome 2011-06-22 18:50:38 -07:00
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