5 Commits (75d6cb27cec3ed18fda14b69fce8ff8397fc346d)

Author SHA1 Message Date
Vivien Nicolas 1980f4ef42 Clean up some debug leftovers 14 years ago
Andreas Gal 416fc7865f 2nd attempt to make glyph list integers 14 years ago
Andreas Gal 995c825cc5 revert commit 2311c954f8 14 years ago
Andreas Gal 5625a667ff store unicode value as integer instead of hex string in glyphlist 14 years ago
Vivien Nicolas 446e958b5d Rename PDFFonts.js to fonts.js 14 years ago
Vivien Nicolas b5915ab3cd Fix CIMM6/CIIM9 14 years ago
Vivien Nicolas 35ceea1ff2 Do not use stream when it is not necessary 14 years ago
Vivien Nicolas d31bc90c85 Use a typed array in the CMAP construction function 14 years ago
Vivien Nicolas 89c9bc39de Add a direct translation to one of the way to format charstring number in flattenCharstring (28, x, y) 14 years ago
Vivien Nicolas 01847a0e29 Get rid or IsNum/IsString/IsArray in flattenCharstring 14 years ago
Vivien Nicolas 88512fbdd9 Remove some leftovers from the previous patch 14 years ago
Vivien Nicolas eb6f7499dc Rework some code to enhance performance (CIIM6/CIIM9 are rejected by the sanitizer now) 14 years ago
Vivien Nicolas 675b2f0471 Remove some debug leftovers and add some comments about future directions for the code 14 years ago
Vivien Nicolas c9e0b05678 Resolve the char->glyphs mapping issue 14 years ago
Vivien Nicolas 1923337bab Change the nominalWidth to not use the format 28,b0,b1 but b0-139 in order to pass the sanitizer and disable TrueType support until it fully works 14 years ago
Vivien Nicolas 509d608a3a Use spaces to compare font size to detect when the @font-face rule works, this seems to be more accurate 14 years ago
Vivien Nicolas 97e8a56323 Remove some useless JS function calls 14 years ago
Vivien Nicolas 650ed04a70 Get rid of the PostScript interpreter (part 1) 14 years ago
Vivien Nicolas 2519e4f53b Make Type1 glyphs use the default width they declare 14 years ago
Vivien Nicolas 73350b1f46 Forgot to turn off some debug flags 14 years ago
Vivien Nicolas f7e90f569c Add Encodings.js and change the code to generate a CharSet per font, this will allow future changes to the OpenType font generator 14 years ago
Vivien Nicolas 1dcd42b66c Add a basic support for TrueType (generate fonts with OS/2 table) 14 years ago
Vivien Nicolas c8c4326ca8 Remove direct access to the underlying map object of dict in the fonts builder 14 years ago
Vivien Nicolas bd2e756100 Add XObjects fonts to the list of page fonts and has a forEach method to the Dict class 14 years ago
Vivien Nicolas 6a6753fd5e Add support for brackets around the header emails 14 years ago
Vivien Nicolas 4cae2df1e5 Add support for ligatures, asterisks, etc. 14 years ago
Vivien Nicolas 375b383920 Make the fonts decoding code works with asynchronous data url 14 years ago
Vivien Nicolas b7449f3bcc Do not use makeSubStream in the CFF constructor 14 years ago
Vivien Nicolas 2dc7bda2bc Merge the stream handling changes with the Font code 14 years ago
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