39 Commits (2c4a0aa26971ef5da62c35023acdaf08ff9cb1bc)

Author SHA1 Message Date
Vivien Nicolas 9830b09f34 Small changes 14 years ago
Vivien Nicolas 4039e3e1e2 Clean up a bit the code to generate an OTF (again) 14 years ago
Vivien Nicolas c6f5385d15 Clean up a bit the code to generate an OTF 14 years ago
Vivien Nicolas cebdda3f35 Clean up a bit the CMAP ranges creation loop 14 years ago
Vivien Nicolas 65b8158c34 CMAP creation code is now more readable 14 years ago
Vivien Nicolas a8ce1d24e9 Beginning of the separatation of the Type1/CFF/OTF code 14 years ago
Vivien Nicolas 0a135091de Add a root 'Font' class as the outside world API 14 years ago
Vivien Nicolas 84c2e99bef Add some missing glyphs 14 years ago
Vivien Nicolas 6e7e8ee64c OTF fonts works with the sanitizer (woot) 14 years ago
Vivien Nicolas 1f7aaf7b50 Add some code to make (the first one only...) font pass the sanitizer check 14 years ago
Vivien Nicolas 632fcfed18 Turn on TrueType decoder even if the sanitizer prevent them to load at the moment 14 years ago
Vivien Nicolas 828367a1b4 Make the Type1 to OTF code active, even if the sanitizer prevent fonts to load at the moment 14 years ago
Vivien Nicolas fdacb575c5 Default the unit per EM size to 1000 14 years ago
Vivien Nicolas ce9224538e Fix a bunch of errors reported by OTS except the error about 3-0-4 MS symbol in cmap 14 years ago
Vivien Nicolas e0beef4e25 No more errors for an empty unicode table 14 years ago
Vivien Nicolas 667acb089c OTF does not complain anymore about missize between the CFF data and the htmx table 14 years ago
Vivien Nicolas 1c30621906 OTF does not complain anymore about a duplicate .notdef 14 years ago
Vivien Nicolas 865b393367 Add a basic non-working OTF generator 14 years ago
Vivien Nicolas a73ffc2d30 Do not add empty spaces anymore 14 years ago
Vivien Nicolas d1d6621164 Remove some useless bits of code 14 years ago
Vivien Nicolas ffa52f9dbd Remove the aggregate commands and do some methods dance 14 years ago
Vivien Nicolas 4191485e1f Add a debug writeToFile function and remove aggregations for Type2 fonts 14 years ago
Vivien Nicolas da69361ae0 Add the beginning of a working CFF font encoder 14 years ago
Vivien Nicolas 18b2e3c6f8 Add the beginning of a CFF encoder 14 years ago
Vivien Nicolas 3834c9be08 Move the Type2 utils to a new file and create a Stack object 14 years ago
Vivien Nicolas 74abf984d5 Add the beginning of a Type1 to Type2 charstring converter 14 years ago
Vivien Nicolas fcc4ce9bec Clean up some Type2 reader code for readibility 14 years ago
Vivien Nicolas 714571dc80 Support reading all parts of a Type2 file 14 years ago
Vivien Nicolas 87b4cb85be Starts to decode type2 charStrings 14 years ago
Vivien Nicolas c098f0b31f Fix some bugs and add the beginning of a Type2 reader 14 years ago
Vivien Nicolas 4d261759d9 Support TrueType Font 14 years ago
Vivien Nicolas c166db13fd Add the 'for' keyword and support 2's complement signed integer 14 years ago
Vivien Nicolas a08691313f Clean up some code and add some changes to pdf.js 14 years ago
Vivien Nicolas c663d181f9 Remove some debug leftover 14 years ago
Vivien Nicolas e302bd93ee Add the necessary bits to handle Arrays, Procedure and a bigger set of instructions for Type1 14 years ago
Vivien Nicolas e739bcc515 Starts playing with the execution stack 14 years ago
Vivien Nicolas e936f305d7 Decode charStrings and stop the interpreter on every unknow token 14 years ago
Vivien Nicolas 3064305d91 Prepare the way to decode Type1 charStrings 14 years ago
Vivien Nicolas fe11af4b57 Add a the beggining of a Type1 font reader 14 years ago