Commit Graph

375 Commits

Author SHA1 Message Date
Vivien Nicolas
aa7e1ac6d6 Add a name to some anonyous functions 2011-06-21 04:35:28 +02:00
Vivien Nicolas
8523896023 Rename s2a, s16, s32 and do some dance inside the bind() code 2011-06-21 04:30:28 +02:00
Vivien Nicolas
8787e7cbe9 Fix some leftovers 2011-06-21 03:05:28 +02:00
Vivien Nicolas
10944be385 Merge with master 2011-06-21 03:01:59 +02:00
Vivien Nicolas
c4056aa99a Merge with master 2011-06-21 02:35:14 +02:00
Andreas Gal
28eba6d10e cleanup DCTStream rendering code a tad 2011-06-20 19:36:40 -04:00
andreasgal
6ae70b4421 Merge pull request #29 from notmasteryet/jpegstream2
DCTDecode; text and images vertical inversion fix
2011-06-20 16:30:11 -07:00
Chris Jones
ff2d062bbb Merge pull request #20 from sbarman/streamrewrite2
Changed flate stream to get the entire buffer instead of calling getBytes()
2011-06-20 16:17:21 -07:00
sbarman
207be6e02e Merge branch 'master' into streamrewrite2 2011-06-20 15:00:09 -07:00
sbarman
72235d76ed Merge branch 'master' of github.com:andreasgal/pdf.js 2011-06-20 14:59:58 -07:00
Chris Jones
3b876cecb5 Merge pull request #19 from sbarman/tiling
Tiling
2011-06-20 14:51:33 -07:00
sbarman
c15afaba8b Merge branch 'master' of github.com:andreasgal/pdf.js 2011-06-20 14:36:21 -07:00
sbarman
8911f7c6c5 switched to using const enums 2011-06-20 14:22:11 -07:00
sbarman
91601bf9be Merge branch 'master' of github.com:andreasgal/pdf.js into streamrewrite2
Conflicts:
	pdf.js
2011-06-20 14:16:09 -07:00
sbarman
efe148e715 forgot to changed to typeof b == undefined at one location 2011-06-20 14:14:28 -07:00
sbarman
9c01d8536a used typeof b == undefined 2011-06-20 14:10:10 -07:00
sbarman
4813415044 Merge branch 'master' into streamrewrite2
Conflicts:
	pdf.js
2011-06-20 14:02:54 -07:00
sbarman
8ae9b1f3d4 fixed ExtraStateContext.colorSpace impl 2011-06-20 13:47:42 -07:00
sbarman
0b2d842f83 Used symbolic constants 2011-06-20 13:38:27 -07:00
Vivien Nicolas
2feec66b74 Add a way to disable fonts that won't load 2011-06-20 21:14:33 +02:00
Andreas Gal
f3fcbd0fbc remove remaining uses of integerToBytes in type1 font code 2011-06-20 14:42:39 -04:00
Andreas Gal
0c948d7b06 assemble cmap table from strings instead of arrays 2011-06-20 04:27:21 -04:00
Andreas Gal
32880025fc write font cmap using a string 2011-06-20 04:20:51 -04:00
Andreas Gal
e97f74f6e3 simplify glyph segment writing code 2011-06-20 04:16:41 -04:00
Andreas Gal
5f75130fbf store ranges as [start, end], instead of storing all codes 2011-06-20 03:49:40 -04:00
Andreas Gal
52e1631030 use Array.sort to calculate glyph ranges instead of large typed arrays 2011-06-20 03:33:52 -04:00
Vivien Nicolas
c345a4c75e Add more TrueType rewriting magic ('post' table) 2011-06-20 08:20:31 +02:00
Andreas Gal
fc4ca2a9dd style fixes, we should post some sensible style guide 2011-06-20 01:20:05 -04:00
andreasgal
198a1ffcc3 Merge pull request #27 from notmasteryet/objstm
Ability to fetch ObjStm objects; multi-item page content
2011-06-19 22:14:44 -07:00
notmasteryet
a66e085734 DCTDecode; text and images vertical inversion fix 2011-06-19 22:04:45 -05:00
Vivien Nicolas
5c4f26019e Check for more missing tables in TrueType (sigh) 2011-06-20 03:01:09 +02:00
Vivien Nicolas
6d3d9e3b24 Add a basic embedded CMap reader 2011-06-20 02:52:30 +02:00
notmasteryet
c2ce7fa7b2 Ability to fetch ObjStm objects; fix DEFLATE stream double-eof-call issue; multi-item page content 2011-06-19 18:55:02 -05:00
Andreas Gal
4fc8a1fa75 make createCMAPTable a nested function function 2011-06-19 16:35:32 -07:00
Andreas Gal
a118f9035a in preparation for using strings to write out font data, store constant blobs as strings 2011-06-19 16:32:26 -07:00
Andreas Gal
c09ee48094 write OTF header using a string, not an array 2011-06-19 16:13:59 -07:00
Andreas Gal
bb40d20eae rename conver to convert 2011-06-19 15:58:30 -07:00
Andreas Gal
1a51057417 make createOpenTypeHeader and createTableEntry inner functions of co(n)ver(t) so we can use an upvar to collect the output 2011-06-19 15:58:02 -07:00
Andreas Gal
886054080e make createOpenTypeHeader and createTableEntry inner functions 2011-06-19 15:54:27 -07:00
Andreas Gal
f6e85f00cb add a closure around Font so we can hide helper functions in it 2011-06-19 15:46:58 -07:00
Andreas Gal
7bb098dfc7 don't use an array to translate from a typed array to a string, and always store font data as typed array, never as a stream 2011-06-19 15:30:55 -07:00
Andreas Gal
5afd963c8a handle surrogate pairs in glyph to unicode translation 2011-06-19 15:14:07 -07:00
Vivien Nicolas
30460ce4b2 Fix the encoding problem for TrueType 2011-06-20 00:09:50 +02:00
Andreas Gal
43ec6a9c8a Merge branch 'master' of github.com:andreasgal/pdf.js 2011-06-19 13:20:00 -07:00
andreasgal
8edc61bd2f Merge pull request #26 from justindarc/master
Updated zoom input
2011-06-19 13:06:53 -07:00
sbarman
e9a9de8a1b cleanup 2011-06-19 15:01:52 -05:00
sbarman
e4bffad60c Merge branch 'master' into tiling 2011-06-19 12:15:52 -07:00
sbarman
8afd1a65ff Merge branch 'master' of github.com:andreasgal/pdf.js 2011-06-19 12:04:57 -07:00
Justin D'Arcangelo
a3781157cf Minor CSS fix for zoom drop down. 2011-06-19 14:57:45 -04:00
Justin D'Arcangelo
cf0e22ffaf Changed the zoom input to utilize a pre-populated combo box. 2011-06-19 14:54:13 -04:00