Commit Graph

18608 Commits

Author SHA1 Message Date
Andreas Gal
e0a6c8ef76 use const instead of var 2011-06-13 11:40:49 +08:00
Vivien Nicolas
9830b09f34 Small changes 2011-06-13 05:30:02 +02:00
Vivien Nicolas
4039e3e1e2 Clean up a bit the code to generate an OTF (again) 2011-06-13 04:46:21 +02:00
Vivien Nicolas
c6f5385d15 Clean up a bit the code to generate an OTF 2011-06-13 04:37:53 +02:00
Vivien Nicolas
cebdda3f35 Clean up a bit the CMAP ranges creation loop 2011-06-13 03:45:24 +02:00
Vivien Nicolas
65b8158c34 CMAP creation code is now more readable 2011-06-13 03:35:56 +02:00
Vivien Nicolas
a8ce1d24e9 Beginning of the separatation of the Type1/CFF/OTF code 2011-06-13 02:30:16 +02:00
Vivien Nicolas
0a135091de Add a root 'Font' class as the outside world API 2011-06-13 01:38:05 +02:00
Vivien Nicolas
84c2e99bef Add some missing glyphs 2011-06-12 23:41:57 +02:00
Vivien Nicolas
6e7e8ee64c OTF fonts works with the sanitizer (woot) 2011-06-12 21:53:39 +02:00
Vivien Nicolas
1f7aaf7b50 Add some code to make (the first one only...) font pass the sanitizer check 2011-06-12 14:23:39 +02:00
Andreas Gal
609842b76c remove debug code 2011-06-11 23:49:17 -07:00
Andreas Gal
bf2c525788 remove debug code 2011-06-11 23:49:17 -07:00
Vivien Nicolas
066e4c45e0 Remove the Type2 validation data from the tree 2011-06-12 05:19:43 +02:00
Vivien Nicolas
632fcfed18 Turn on TrueType decoder even if the sanitizer prevent them to load at the moment 2011-06-12 03:10:54 +02:00
Vivien Nicolas
828367a1b4 Make the Type1 to OTF code active, even if the sanitizer prevent fonts to load at the moment 2011-06-12 03:00:45 +02:00
Vivien Nicolas
fdacb575c5 Default the unit per EM size to 1000 2011-06-12 01:56:21 +02:00
Vivien Nicolas
ce9224538e Fix a bunch of errors reported by OTS except the error about 3-0-4 MS symbol in cmap 2011-06-12 01:51:27 +02:00
Vivien Nicolas
e0beef4e25 No more errors for an empty unicode table 2011-06-12 00:54:47 +02:00
Vivien Nicolas
667acb089c OTF does not complain anymore about missize between the CFF data and the htmx table 2011-06-11 22:36:18 +02:00
Vivien Nicolas
1c30621906 OTF does not complain anymore about a duplicate .notdef 2011-06-11 22:08:30 +02:00
Vivien Nicolas
865b393367 Add a basic non-working OTF generator 2011-06-11 03:25:58 +02:00
Chris Jones
d1cd02f0a7 Merge branch 'master' of github.com:andreasgal/pdf.js 2011-06-10 12:17:00 -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
Vivien Nicolas
a73ffc2d30 Do not add empty spaces anymore 2011-06-10 20:45:42 +02:00
sbarman
9a3e264951 Merge pull request #5 from sbarman/master
fix to display images
2011-06-10 11:32:37 -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
Vivien Nicolas
d1d6621164 Remove some useless bits of code 2011-06-10 19:27:34 +02:00
Vivien Nicolas
ffa52f9dbd Remove the aggregate commands and do some methods dance 2011-06-10 18:46:26 +02:00
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