Commit Graph

18427 Commits

Author SHA1 Message Date
Vivien Nicolas
4191485e1f Add a debug writeToFile function and remove aggregations for Type2 fonts 2011-06-10 18:38:57 +02:00
Vivien Nicolas
da69361ae0 Add the beginning of a working CFF font encoder 2011-06-10 08:40:28 +02:00
sbarman
3d9f609054 Merge branch 'master' of github.com:andreasgal/pdf.js 2011-06-09 23:06:36 -07:00
Vivien Nicolas
18b2e3c6f8 Add the beginning of a CFF encoder 2011-06-10 06:12:59 +02: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
Vivien Nicolas
3834c9be08 Move the Type2 utils to a new file and create a Stack object 2011-06-10 02:07:41 +02:00
Vivien Nicolas
74abf984d5 Add the beginning of a Type1 to Type2 charstring converter 2011-06-10 01:20:00 +02: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
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