Commit Graph

18630 Commits

Author SHA1 Message Date
Andreas Gal
9543128796 wired up decompression, not working yet 2011-05-11 03:26:33 -07:00
Andreas Gal
cebd567fa1 parse the page tree and extract pages and their content 2011-05-11 03:14:08 -07:00
Andreas Gal
7c604ae280 add code to access the page dictionary 2011-05-11 01:50:47 -07:00
Andreas Gal
db5488a50e reading the catalog, at last 2011-05-11 01:20:12 -07:00
Andreas Gal
7b5effcdbe use exceptions instead of error codes in case of errors 2011-05-11 00:10:15 -07:00
Andreas Gal
c8ab1c014e finish inflate code, still untested 2011-05-10 23:57:03 -07:00
Andreas Gal
903e6e2b9d add inflate code 2011-05-10 21:22:28 -07:00
Andreas Gal
f9faa3f34a Merge branch 'master' of github.com:andreasgal/pdf.js 2011-05-10 00:31:51 -07:00
Andreas Gal
4a7d875495 use skip() instead of getChar() when the return value isn't used anyway 2011-05-09 23:47:08 -07:00
Andreas Gal
da1532e0d8 remove skipChar(), use skip() without an argument instead 2011-05-09 23:44:25 -07:00
Andreas Gal
2a60352e24 inline asString since its only used once 2011-05-09 23:37:21 -07:00
Andreas Gal
0b5cdf651d move find out of the Stream class 2011-05-09 23:32:22 -07:00
Andreas Gal
056a81ee89 remove putBack and make skip go via skipChar 2011-05-09 23:10:40 -07:00
Andreas Gal
ac17a847d0 remove getByte for now 2011-05-09 23:08:29 -07:00
Chris Jones
99972ad26a placeholders for scn/SCN 2011-05-09 21:19:26 -05:00
Chris Jones
3674f38fdd shadingFill placeholder 2011-05-09 21:14:09 -05:00
Chris Jones
c1758ea66f Placeholder even-odd fill 2011-05-09 21:08:21 -05:00
Chris Jones
e820a20b63 Clipping (non-zero winding) 2011-05-09 21:05:33 -05:00
Chris Jones
79ef581434 Merge 2011-05-09 20:17:22 -05:00
Chris Jones
fcdd7e3845 Implement "n" (end path), add stubs for NYI operators 2011-05-09 20:16:06 -05:00
Andreas Gal
bbbf30c81f throw Error for errors, and warn in browser and shell 2011-05-09 18:10:15 -07:00
Andreas Gal
f16e6b8d1c Merge branch 'master' of github.com:andreasgal/pdf.js 2011-05-09 18:04:31 -07:00
Andreas Gal
247509680e beginnings of inflate decompression 2011-05-09 18:04:22 -07:00
Chris Jones
f9839beda8 Implement j (line join style) 2011-05-09 19:11:40 -05:00
Chris Jones
5bf0818b2e Implement J (line-cap style) 2011-05-09 18:57:23 -05:00
Chris Jones
a8d9ab5e62 Merge branch 'master' of github.com:andreasgal/pdf.js 2011-05-09 18:20:10 -05:00
Chris Jones
127a6e97d0 Implement TJ 2011-05-09 18:20:04 -05:00
Andreas Gal
a018fe60ef Merge branch 'master' of github.com:andreasgal/pdf.js 2011-05-09 15:58:50 -07:00
Andreas Gal
4a43ba6f8c bug fixes, getting closer to parsing a latex paper 2011-05-09 15:58:37 -07:00
Chris Jones
82f49501c3 Restore font lookup and setting 2011-05-09 15:18:19 -05:00
Andreas Gal
195671adba add buffer to write data to 2011-05-08 17:39:40 -07:00
Andreas Gal
5376c8b4e1 use Object.create for Dict instead of a key prefix 2011-05-08 14:26:08 -07:00
Andreas Gal
fed34c7d07 eliminate putBack 2011-05-08 14:08:38 -07:00
Andreas Gal
dd5ab1f10f don't use array buffes to implement moveStart, that won't work for filtered streams 2011-05-08 11:35:32 -07:00
Andreas Gal
a2dcda8be5 factor out isSpace 2011-05-08 11:32:53 -07:00
Andreas Gal
506828d522 fix StringStream constructor delegation to Stream 2011-05-07 22:57:04 -07:00
Andreas Gal
314889d3d1 add skeleton decryption and stream filter support 2011-05-07 01:20:04 -07:00
Andreas Gal
65a35fcabf start working on stream decoding 2011-05-06 23:37:49 -07:00
Andreas Gal
d971dfa01b fix reading linearized documents 2011-05-06 22:44:01 -07:00
Andreas Gal
e655900785 restore long-form function names and a mapping table 2011-05-06 22:15:18 -07:00
Andreas Gal
d65ebb7533 tighten up the interpreter loop 2011-05-06 18:15:51 -07:00
Andreas Gal
36f657b4ad get rid of Obj 2011-05-06 17:27:27 -07:00
Andreas Gal
4349a5b2bc more XRef parsing 2011-05-06 16:38:16 -07:00
Andreas Gal
16b3a7abc4 more XRef parsing 2011-05-06 16:18:13 -07:00
Andreas Gal
7ab8e72963 remove newline in LICENSE 2011-05-06 15:16:26 -07:00
Andreas Gal
c5ab6b0977 never mind restore previous README formating 2011-05-06 15:15:54 -07:00
Andreas Gal
0ee5135741 reformat README because its so ugly 2011-05-06 15:14:38 -07:00
Andreas Gal
2e88d3779c skeleton for XRef support 2011-05-06 12:12:57 -07:00
Andreas Gal
860c8129bf fix a bunch of bugs and make startxref parsing work 2011-05-06 02:18:31 -07:00
Andreas Gal
4a5794e705 add command line arguments for the shell, -e for echo tests, -p for parse tests 2011-05-06 01:44:17 -07:00