Commit Graph

183 Commits

Author SHA1 Message Date
Soumya Deb
327e36b347 Test-page updated to allow the user open local PDFs 2011-06-16 12:14:02 +05:30
Chris Jones
7fb6c434c5 implement setDash 2011-06-15 12:55:48 -07:00
Chris Jones
470f0e49dd Merge branch 'master' of github.com:andreasgal/pdf.js 2011-06-15 12:42:48 -07:00
Chris Jones
988989e8b0 Merge pull request #6 from sbarman/master
type 2 shading
2011-06-15 12:41:40 -07:00
sbarman
23aba03f43 Merge branch 'master' of github.com:andreasgal/pdf.js
Conflicts:
	pdf.js
2011-06-15 12:37:05 -07:00
Chris Jones
07c81a624e implement some operators and add TODOs for remaining undefined ones 2011-06-15 14:24:44 -05:00
sbarman
0f2d4c7011 cleaned up fetchIfRef, changed switch-case to array lookup, changed IsFunction to IsPDFFunction 2011-06-15 11:34:47 -07:00
Andreas Gal
6a9f7def45 fixes suggested by @brendaneich 2011-06-15 00:37:15 -07:00
Andreas Gal
97bb956ac9 measure load/compile/render times 2011-06-15 00:20:26 -07:00
Andreas Gal
b5dcf986eb clarify API a bit and hand in xref and resources to ease translation 2011-06-14 23:44:59 -07:00
Andreas Gal
77bc59681e completed async font loading framework 2011-06-14 23:41:26 -07:00
Andreas Gal
0ef077c44c eagerly translate all fonts (a no-op currently) 2011-06-14 23:34:11 -07:00
Andreas Gal
fbb2f497fd pdf is using a dumb name, content makes much more sense than Contents 2011-06-14 23:22:19 -07:00
Andreas Gal
5acb9a16de cache results of compilation 2011-06-14 23:16:53 -07:00
Andreas Gal
7afaca2d35 eagerly compile XForm objects 2011-06-14 22:54:49 -07:00
Andreas Gal
aecc4ebbb7 return ready-to-run closure from compile that captures its objpool 2011-06-14 20:36:45 -07:00
Andreas Gal
b9771416ba compile PDF command streams into JS code 2011-06-14 18:31:14 -07:00
sbarman
b7360823a2 Cleaned up code, renamed PDFFunction class 2011-06-14 13:49:50 -07:00
sbarman
aa6d9f75a3 cleaned up code 2011-06-14 12:19:35 -07:00
sbarman
9fc97d94e8 Implemented type 2 shading for the pdf (aka gradients) 2011-06-14 11:57:02 -07:00
Andreas Gal
bf2c525788 remove debug code 2011-06-11 23:49:17 -07:00
Chris Jones
58cb3e76b2 Merge branch 'master' of github.com:andreasgal/pdf.js 2011-06-10 12:17:00 -07:00
Chris Jones
a5731ddc47 skeleton of shading fill 2011-06-10 12:16:45 -07:00
sbarman
2238905128 Merge pull request #5 from sbarman/master
fix to display images
2011-06-10 11:32:37 -07:00
sbarman
b61700b5a5 changed bufferPos to pos, fixed style issue (spacing) 2011-06-10 11:30:48 -07:00
sbarman
3d9f609054 Merge branch 'master' of github.com:andreasgal/pdf.js 2011-06-09 23:06:36 -07:00
sbarman
f10aca6a46 Fixed up excess code 2011-06-09 19:34:34 -07:00
sbarman
1dbf2d1d0c cleaned up code, used dict.get2, hoisted conditional outside loop when drawing image 2011-06-09 19:19:09 -07:00
Chris Jones
4b8057bc53 Merge 2011-06-09 18:19:53 -07:00
sbarman
f07cfc1bb8 Revert "added test harness for uncompressed"
This reverts commit 3b4d7d3e78.

Conflicts:

	test.html
2011-06-09 18:19:18 -07:00
Chris Jones
78d0b3caf1 implement TL and T* 2011-06-09 18:19:17 -07:00
sbarman
b83979f40d Revert "working on optimizations"
This reverts commit 03747940a2.
2011-06-09 18:17:27 -07:00
Andreas Gal
76cb96f1cd add ?file= parameter to test.html 2011-06-09 18:06:01 -07:00
sbarman
03747940a2 working on optimizations 2011-06-09 17:15:44 -07:00
sbarman
0e8f323f0a fixed error with getBytes in flate stream 2011-06-09 15:02:58 -07:00
sbarman
78493db421 Merge remote-tracking branch 'agal/master'
Conflicts:
	pdf.js
	test.html
2011-06-09 14:59:15 -07:00
Andreas Gal
287e7a702a remove left-over shell code 2011-06-10 05:44:41 +08:00
sbarman
c5a04b900f Merge commit '496a6374c1ac04e'
Conflicts:
	pdf.js
2011-06-09 14:42:31 -07:00
sbarman
496a6374c1 fixed the display of images 2011-06-09 14:35:55 -07:00
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
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
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
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