Commit Graph

18630 Commits

Author SHA1 Message Date
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
Vivien Nicolas
c76e2c5114 Separate js and css from the test.html file 2011-05-26 16:02:52 +02:00
Chris Jones
53018c8e4c fix next/prev/next bug, fiddle with UI, remove debugging code 2011-05-25 21:09:06 +12:00
Chris Jones
c79cb83d52 reset current point on text state changes and remove redundant "cur" prefix 2011-05-23 21:22:56 +12:00
Andreas Gal
98dfcf57ec use const instead of var 2011-05-21 07:40:28 +02:00
Andreas Gal
4e57061d84 Merge branch 'master' of github.com:andreasgal/pdf.js 2011-05-21 02:34:22 +02:00
Andreas Gal
31f3164dc8 set mozOpaque 2011-05-21 02:34:05 +02:00
Chris Jones
f80a88864b basic kinda-working form xobject support 2011-05-17 14:08:05 +12:00
Chris Jones
d7f3c31d9d add assert helpers, small cleanup 2011-05-17 11:59:38 +12:00
Chris Jones
8f8b302b23 initial (broken) support for xobjects 2011-05-17 11:39:45 +12:00
Andreas Gal
db6f072507 fix a couple more shadowings 2011-05-13 00:23:27 -07:00
Andreas Gal
f4bb211283 forgot another shadowing 2011-05-13 00:21:32 -07:00
Andreas Gal
a4c5b6095b use defineProperty to shadow getters 2011-05-13 00:19:50 -07:00
Andreas Gal
d8366507d0 Merge branch 'master' of github.com:andreasgal/pdf.js 2011-05-12 23:35:31 -07:00
Andreas Gal
59326891d9 seperate page fetch and render times 2011-05-12 23:35:23 -07:00
Chris Jones
0753ce25c1 fix typo in lexing of octal escapes 2011-05-13 13:09:13 +12:00
Andreas Gal
a9a16ccb8a fix for new XHR2 binary API 2011-05-12 16:58:19 -07:00
Andreas Gal
fed7e723b8 clone stream if we got it from the cache in case its already in use 2011-05-11 23:00:36 -07:00
Chris Jones
76e43dd982 fix next/prev, small tweaks 2011-05-12 17:05:46 +12:00
Andreas Gal
0413fb7f6c 0 is error for http, only MS would design this API 2011-05-11 21:13:27 -07:00
Andreas Gal
1bf146d87b support file status code 2011-05-11 21:11:32 -07:00
Andreas Gal
61ff69625d don't try to go further back than page 1 2011-05-11 20:55:50 -07:00
Andreas Gal
d6b969cd62 display rendering time 2011-05-11 20:37:16 -07:00
Andreas Gal
9521168b5c remove the echo interpreter, dissolve interpreter into gfx and Page 2011-05-11 20:13:57 -07:00
Andreas Gal
bffedbb33c cache refs, not streams, in the interest of saving memory 2011-05-11 20:03:45 -07:00
Andreas Gal
284ef90e47 uncompressed pdfs render a bit now 2011-05-11 19:05:30 -07:00
Andreas Gal
6a4b0e8058 fix bug in string obj handling 2011-05-11 17:17:47 -07:00
Andreas Gal
52d8555c17 parser content streams 2011-05-11 17:09:06 -07:00
Andreas Gal
2326832f49 fixes for the huffman decoder 2011-05-11 16:30:30 -07:00