Commit Graph

568 Commits

Author SHA1 Message Date
sbarman
96e82daf16 forgot to changed to typeof b == undefined at one location 2011-06-20 14:14:28 -07:00
sbarman
011f7129be used typeof b == undefined 2011-06-20 14:10:10 -07:00
sbarman
bc886362d4 Merge branch 'master' into streamrewrite2
Conflicts:
	pdf.js
2011-06-20 14:02:54 -07:00
sbarman
ac2378ce2c fixed ExtraStateContext.colorSpace impl 2011-06-20 13:47:42 -07:00
sbarman
9419a0d4b8 Used symbolic constants 2011-06-20 13:38:27 -07:00
Vivien Nicolas
d7edbe28e9 Add a way to disable fonts that won't load 2011-06-20 21:14:33 +02:00
Andreas Gal
be6347c28d remove remaining uses of integerToBytes in type1 font code 2011-06-20 14:42:39 -04:00
Andreas Gal
70887f617f assemble cmap table from strings instead of arrays 2011-06-20 04:27:21 -04:00
Andreas Gal
f63af3e614 write font cmap using a string 2011-06-20 04:20:51 -04:00
Andreas Gal
83c1599cf7 simplify glyph segment writing code 2011-06-20 04:16:41 -04:00
Andreas Gal
fa56770562 store ranges as [start, end], instead of storing all codes 2011-06-20 03:49:40 -04:00
Andreas Gal
2d2aee3c2e use Array.sort to calculate glyph ranges instead of large typed arrays 2011-06-20 03:33:52 -04:00
Vivien Nicolas
75f0930465 Add more TrueType rewriting magic ('post' table) 2011-06-20 08:20:31 +02:00
Andreas Gal
09061a2cc4 style fixes, we should post some sensible style guide 2011-06-20 01:20:05 -04:00
andreasgal
b1cd32fc9c 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
1140820118 Multi-color predictor; row predictor for sub and average 2011-06-19 23:23:21 -05:00
notmasteryet
e2933b5583 DCTDecode; text and images vertical inversion fix 2011-06-19 22:04:45 -05:00
Vivien Nicolas
ad7a06b1d5 Check for more missing tables in TrueType (sigh) 2011-06-20 03:01:09 +02:00
Vivien Nicolas
0197697d1f Add a basic embedded CMap reader 2011-06-20 02:52:30 +02:00
notmasteryet
4452e5bd86 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
b827da304f make createCMAPTable a nested function function 2011-06-19 16:35:32 -07:00
Andreas Gal
631b5df2c3 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
f337d6105c write OTF header using a string, not an array 2011-06-19 16:13:59 -07:00
Andreas Gal
e46a88b1dc rename conver to convert 2011-06-19 15:58:30 -07:00
Andreas Gal
d3923569de 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
458625d656 make createOpenTypeHeader and createTableEntry inner functions 2011-06-19 15:54:27 -07:00
Andreas Gal
75ad5aa016 add a closure around Font so we can hide helper functions in it 2011-06-19 15:46:58 -07:00
Andreas Gal
5001ee7120 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
d515d5ab7c handle surrogate pairs in glyph to unicode translation 2011-06-19 15:14:07 -07:00
Vivien Nicolas
b3b0322446 Fix the encoding problem for TrueType 2011-06-20 00:09:50 +02:00
Andreas Gal
010475176f Merge branch 'master' of github.com:andreasgal/pdf.js 2011-06-19 13:20:00 -07:00
andreasgal
90bfd4aa2e Merge pull request #26 from justindarc/master
Updated zoom input
2011-06-19 13:06:53 -07:00
sbarman
9d286d789e cleanup 2011-06-19 15:01:52 -05:00
sbarman
07b6ee2d03 Merge branch 'master' into tiling 2011-06-19 12:15:52 -07:00
sbarman
8705c341d6 Merge branch 'master' of github.com:andreasgal/pdf.js 2011-06-19 12:04:57 -07:00
Justin D'Arcangelo
50f3dd72a1 Minor CSS fix for zoom drop down. 2011-06-19 14:57:45 -04:00
Justin D'Arcangelo
8935715d96 Changed the zoom input to utilize a pre-populated combo box. 2011-06-19 14:54:13 -04:00
Andreas Gal
b6d4de3de0 no need for new for typed array constructors 2011-06-19 11:29:18 -07:00
Vivien Nicolas
bf835f7aa5 Really pass the sanitizer (encoding is broken) 2011-06-19 11:07:03 +02:00
Vivien Nicolas
8a24a967c3 Make Helvetica and Helvetica bold from page 2 to pass the sanitizer 2011-06-19 09:29:28 +02:00
Chris Jones
8c802e5025 use strict in the utils/ too 2011-06-18 23:21:30 -07:00
Chris Jones
92fa629d10 use strict mode and fix violators 2011-06-18 23:18:46 -07:00
Chris Jones
7f102a189e Merge branch 'master' of github.com:andreasgal/pdf.js 2011-06-18 22:05:10 -07:00
Chris Jones
d4a42a4e79 mozMeasureText() is non-standard and deprecated 2011-06-18 22:04:36 -07:00
andreasgal
3820e42689 Merge pull request #25 from notmasteryet/patch-2
Add Yury to the contributors list
2011-06-18 22:03:00 -07:00
notmasteryet
26fc2f17b1 Add Yury to the contributors list 2011-06-18 23:49:31 -05:00
andreasgal
d0d608b17f Merge pull request #23 from notmasteryet/a2d7c18aee4d66cd37085bf2597808acfeaec8e9
XRefStream implementation
2011-06-18 21:38:10 -07:00
Chris Jones
fcbf6e61ce CharSet is optional 2011-06-18 21:18:56 -07:00
Chris Jones
8fcd7c6635 add Vivien to contributors list (list is in order of chronogically first push/pull, nothing else) 2011-06-18 21:12:21 -07:00
Chris Jones
3b36a5577b Merge pull request #21 from justindarc/master
Multi-page viewer
2011-06-18 21:06:03 -07:00