Commit Graph

147 Commits

Author SHA1 Message Date
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
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
Vivien Nicolas
a73ffc2d30 Do not add empty spaces anymore 2011-06-10 20:45:42 +02: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
Vivien Nicolas
18b2e3c6f8 Add the beginning of a CFF encoder 2011-06-10 06:12:59 +02: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
Vivien Nicolas
fcc4ce9bec Clean up some Type2 reader code for readibility 2011-06-09 02:37:06 +02:00
Vivien Nicolas
714571dc80 Support reading all parts of a Type2 file 2011-06-09 00:26:41 +02:00
Vivien Nicolas
87b4cb85be Starts to decode type2 charStrings 2011-06-08 20:37:25 +02:00
Vivien Nicolas
c098f0b31f Fix some bugs and add the beginning of a Type2 reader 2011-06-08 17:26:29 +02:00
Vivien Nicolas
4d261759d9 Support TrueType Font 2011-06-07 19:17:46 +02:00
Vivien Nicolas
c166db13fd Add the 'for' keyword and support 2's complement signed integer 2011-06-04 00:43:50 +02:00
Vivien Nicolas
a08691313f Clean up some code and add some changes to pdf.js 2011-06-03 19:47:07 +02:00
Vivien Nicolas
c663d181f9 Remove some debug leftover 2011-06-03 17:54:40 +02:00
Vivien Nicolas
e302bd93ee Add the necessary bits to handle Arrays, Procedure and a bigger set of instructions for Type1 2011-06-03 17:48:32 +02:00
Vivien Nicolas
e739bcc515 Starts playing with the execution stack 2011-06-01 20:40:25 +02:00
Vivien Nicolas
e936f305d7 Decode charStrings and stop the interpreter on every unknow token 2011-06-01 16:50:32 +02:00
Vivien Nicolas
3064305d91 Prepare the way to decode Type1 charStrings 2011-06-01 11:52:10 +02:00
Vivien Nicolas
fe11af4b57 Add a the beggining of a Type1 font reader 2011-05-31 20:22:05 +02:00
Vivien Nicolas
c76e2c5114 Separate js and css from the test.html file 2011-05-26 16:02:52 +02:00
Chris Jones
53018c8e4c fix next/prev/next bug, fiddle with UI, remove debugging code 2011-05-25 21:09:06 +12:00
Chris Jones
c79cb83d52 reset current point on text state changes and remove redundant "cur" prefix 2011-05-23 21:22:56 +12:00
Andreas Gal
4e57061d84 Merge branch 'master' of github.com:andreasgal/pdf.js 2011-05-21 02:34:22 +02:00
Andreas Gal
31f3164dc8 set mozOpaque 2011-05-21 02:34:05 +02:00
Chris Jones
f80a88864b basic kinda-working form xobject support 2011-05-17 14:08:05 +12:00
Chris Jones
d7f3c31d9d add assert helpers, small cleanup 2011-05-17 11:59:38 +12:00
Chris Jones
8f8b302b23 initial (broken) support for xobjects 2011-05-17 11:39:45 +12:00
Andreas Gal
db6f072507 fix a couple more shadowings 2011-05-13 00:23:27 -07:00
Andreas Gal
f4bb211283 forgot another shadowing 2011-05-13 00:21:32 -07:00