308 Commits

Author SHA1 Message Date
Vivien Nicolas
f4282f9802 Use strict mode for js files 2011-06-19 02:35:28 +02:00
sbarman
8cd69681fc Merge branch 'master' into tiling 2011-06-18 13:07:20 -07:00
sbarman
609230ad07 Fixed predictor 2011-06-18 13:06:54 -07:00
sbarman
0b9b0390b6 Merge branch 'master' into predictor 2011-06-18 09:33:59 -07:00
Andreas Gal
c04da11be6 remove toString code to avoid any future accidental implicit conversions 2011-06-18 01:18:21 -07:00
Andreas Gal
d2e18d35b5 speedup unicode/glyph conversion and cache translated strings in the font 2011-06-17 21:22:37 -07:00
Andreas Gal
dea351911a IsInteger => IsInt 2011-06-17 20:17:10 -07:00
sbarman
0b983990d4 Merge branch 'master' of github.com:andreasgal/pdf.js 2011-06-17 17:58:24 -07:00
sbarman
80ee0faa37 Merge branch 'master' of github.com:andreasgal/pdf.js into streamrewrite2 2011-06-17 17:58:06 -07:00
sbarman
e80a8e6e2b clean up tiling 2011-06-17 17:48:44 -07:00
sbarman
698132daec clean up tiling 2011-06-17 17:46:02 -07:00
sbarman
90cc46a574 Merge branch 'master' into tiling 2011-06-17 17:38:29 -07:00
sbarman
518c7d3328 Cleaned up code for tiling 2011-06-17 17:35:56 -07:00
Andreas Gal
120a4a3f38 even more error checking for font translation 2011-06-17 16:34:29 -07:00
Andreas Gal
49c4196ec0 add more error checking for font translation 2011-06-17 16:29:48 -07:00
sbarman
8ce051c579 Working version of predictors 2011-06-17 16:06:02 -07:00
Andreas Gal
9e178e88c8 inline Encodings table into pdf.js and use getters for lazy construction 2011-06-17 15:48:17 -07:00
sbarman
2170c2408b Rearranged predictor interface 2011-06-17 13:32:26 -07:00
sbarman
5a4d679372 changed skip in FlateStream to not call getChar 2011-06-17 13:13:25 -07:00
sbarman
55a916e2d7 Merge branch 'master' into streamrewrite2 2011-06-17 12:32:32 -07:00
sbarman
10505be356 Merge branch 'master' of github.com:andreasgal/pdf.js 2011-06-17 12:14:45 -07:00
Vivien Nicolas
e475d03675 Do not assume charset is defined and move some fonts timing to the right place 2011-06-17 20:29:34 +02:00
sbarman
9621727db5 stored bytes in flatestream 2011-06-17 10:10:29 -07:00
sbarman
4b6432b46c Merge branch 'master' into predictor 2011-06-17 09:07:40 -07:00
sbarman
9a3a61fc64 Merge branch 'master' into tiling 2011-06-17 09:00:04 -07:00
sbarman
f9dae73122 Merge branch 'master' of github.com:andreasgal/pdf.js 2011-06-17 08:33:14 -07:00
notmasteryet
0e5f74b6c2 readXRefStream and PNG predictor 12 2011-06-17 07:37:14 -05:00
Vivien Nicolas
1980f4ef42 Clean up some debug leftovers 2011-06-17 13:55:42 +02:00
sbarman
4959dcb6a9 initial implementation of predictor 2011-06-16 17:03:15 -07:00
sbarman
72919470a9 Added comments 2011-06-16 12:03:50 -07:00
sbarman
5fa49ce3d6 working version of tiling 2011-06-16 11:26:50 -07:00
Vivien Nicolas
c9e0b05678 Resolve the char->glyphs mapping issue 2011-06-16 03:55:45 +02:00
Vivien Nicolas
a57b53b3b3 Merge from gal's master branch (got a regression on the mapping between char->glyph) 2011-06-16 03:05:55 +02:00
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
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
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
Vivien Nicolas
1dcd42b66c Add a basic support for TrueType (generate fonts with OS/2 table) 2011-06-15 04:46:48 +02: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
Vivien Nicolas
bd2e756100 Add XObjects fonts to the list of page fonts and has a forEach method to the Dict class 2011-06-14 21:38:59 +02:00