Commit Graph

18608 Commits

Author SHA1 Message Date
sbarman
cfff44f2b2 fixed getBytes 2011-06-09 12:53:38 -07:00
Chris Jones
fa4c34ad06 support test.html?page=[num], display total number of pages 2011-06-08 17:55:09 -07:00
sbarman
5da69f520d Half working version of paintImageXObject 2011-06-08 17:45:50 -07:00
sbarman
c326f1808f Fixed geBytes implementation 2011-06-08 17:42:29 -07:00
Vivien Nicolas
fcc4ce9bec Clean up some Type2 reader code for readibility 2011-06-09 02:37:06 +02:00
sbarman
19f9897ec3 added getBytes method 2011-06-08 15:41:17 -07:00
sbarman
3b4d7d3e78 added test harness for uncompressed 2011-06-08 15:39:44 -07:00
Vivien Nicolas
714571dc80 Support reading all parts of a Type2 file 2011-06-09 00:26:41 +02:00
Andreas Gal
bab03e6add remove left-over shell code 2011-06-08 13:40:10 -07:00
sbarman
a89bd1d30e Copied entire buffer for flate stream's snarf function (since decoding looks back) 2011-06-08 11:49:37 -07:00
Vivien Nicolas
87b4cb85be Starts to decode type2 charStrings 2011-06-08 20:37:25 +02:00
sbarman
fe277b8d51 Added test harness for uncompressed version of pdf 2011-06-08 10:12:22 -07:00
Andreas Gal
f85953b342 read in image data en-block instead of sucking it through the stream interface 2011-06-09 01:09:02 +08:00
Andreas Gal
8b119087f0 use dict.get2 to lookup with a key that has an abbreviation (i.e. BitsPerComponent/BPC) 2011-06-09 01:09:02 +08:00
Vivien Nicolas
c098f0b31f Fix some bugs and add the beginning of a Type2 reader 2011-06-08 17:26:29 +02:00
Andreas Gal
ee5d8763e8 read in image data en-block instead of sucking it through the stream interface 2011-06-08 07:50:35 -07:00
Vivien Nicolas
4d261759d9 Support TrueType Font 2011-06-07 19:17:46 +02:00
Andreas Gal
5c5d09c898 use dict.get2 to lookup with a key that has an abbreviation (i.e. BitsPerComponent/BPC) 2011-06-06 21:34:21 -07:00
sbarman
99aacfe42c Implemented basic version of smask 2011-06-06 18:35:45 -07:00
sbarman
27b8b68b87 Removed log code from previous commit 2011-06-06 18:34:24 -07:00
sbarman
11f427d235 Fixed FlateStreams to read in multiple blocks 2011-06-06 18:31:54 -07:00
Andreas Gal
386d70f33c add code to parse bits per component information for images 2011-06-05 10:56:05 -07:00
Andreas Gal
378f381625 don't cache stream objects 2011-06-04 23:18:55 -07:00
Andreas Gal
5c06cd1de5 use an array not an object to cache objects 2011-06-04 23:15:51 -07:00
Andreas Gal
47f0326eee parse Interpolate and ImageMask for images 2011-06-04 23:01:25 -07:00
Andreas Gal
5647dbc0a4 convert remaining inflate code tables to typed arrays 2011-06-04 11:11:14 -07:00
Andreas Gal
cf1afe648f added Shaon as contributor 2011-06-04 10:41:18 -07:00
Andreas Gal
4d70cb4aaf turn distDecode into a typed array 2011-06-04 10:27:25 -07:00
Andreas Gal
9143ad4cf5 make lengthDecode a typed array 2011-06-04 10:18:04 -07:00
Andreas Gal
cd7c229ccc make codeLenCodeMap a typed array 2011-06-04 10:14:17 -07:00
Chris Jones
fadbb1b5e7 FlateStream wants a .dict member for duck typing 2011-06-03 22:58:06 -05:00
Chris Jones
2f8d80677b implement even-odd fill/clip 2011-06-03 22:52:27 -05:00
Vivien Nicolas
c166db13fd Add the 'for' keyword and support 2's complement signed integer 2011-06-04 00:43:50 +02:00
Andreas Gal
92aa46cf81 hand in xref to the parser if needed so we can resolve 'Length' for sub-streams 2011-06-03 14:38:54 -07:00
Andreas Gal
ed51d65409 replace wrong compressed pdf with the actual tracemonkey paper 2011-06-03 14:24:43 -07:00
Andreas Gal
b6b5c2ac49 fix deflate code 2011-06-03 14:22:38 -07:00
Andreas Gal
267f312f13 fix length/end of stream handling 2011-06-03 14:16:04 -07:00
Vivien Nicolas
a08691313f Clean up some code and add some changes to pdf.js 2011-06-03 19:47:07 +02:00
Vivien Nicolas
c663d181f9 Remove some debug leftover 2011-06-03 17:54:40 +02:00
Vivien Nicolas
e302bd93ee Add the necessary bits to handle Arrays, Procedure and a bigger set of instructions for Type1 2011-06-03 17:48:32 +02:00
Chris Jones
41f46ca346 fix typo that breaks ff4 2011-06-02 21:13:48 -07:00
Chris Jones
4533902953 skeleton of image drawing 2011-06-02 18:27:56 -05:00
Chris Jones
ebc483a0c7 Font and XObject entries can be refs, and dump image magic bytes 2011-06-02 14:24:46 -05:00
Andreas Gal
9b9a258a57 starting position of a stream is relative to the file, not the current stream 2011-06-02 10:57:06 -07:00
Vivien Nicolas
e739bcc515 Starts playing with the execution stack 2011-06-01 20:40:25 +02:00
Vivien Nicolas
e936f305d7 Decode charStrings and stop the interpreter on every unknow token 2011-06-01 16:50:32 +02:00
Vivien Nicolas
3064305d91 Prepare the way to decode Type1 charStrings 2011-06-01 11:52:10 +02:00
Andreas Gal
d66fc27bad added compressed tracemonkey paper 2011-05-31 14:07:41 -07:00
Vivien Nicolas
fe11af4b57 Add a the beggining of a Type1 font reader 2011-05-31 20:22:05 +02:00
Andreas Gal
503d888036 Merge branch 'master' of github.com:andreasgal/pdf.js 2011-05-30 10:04:35 +02:00