Andreas Gal
|
6a9f7def45
|
fixes suggested by @brendaneich
|
14 years ago |
Vivien Nicolas
|
2519e4f53b
|
Make Type1 glyphs use the default width they declare
|
14 years ago |
Andreas Gal
|
97bb956ac9
|
measure load/compile/render times
|
14 years ago |
Andreas Gal
|
b5dcf986eb
|
clarify API a bit and hand in xref and resources to ease translation
|
14 years ago |
Andreas Gal
|
77bc59681e
|
completed async font loading framework
|
14 years ago |
Andreas Gal
|
0ef077c44c
|
eagerly translate all fonts (a no-op currently)
|
14 years ago |
Andreas Gal
|
fbb2f497fd
|
pdf is using a dumb name, content makes much more sense than Contents
|
14 years ago |
Andreas Gal
|
5acb9a16de
|
cache results of compilation
|
14 years ago |
Andreas Gal
|
7afaca2d35
|
eagerly compile XForm objects
|
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 |
Andreas Gal
|
aecc4ebbb7
|
return ready-to-run closure from compile that captures its objpool
|
14 years ago |
Vivien Nicolas
|
1dcd42b66c
|
Add a basic support for TrueType (generate fonts with OS/2 table)
|
14 years ago |
Andreas Gal
|
b9771416ba
|
compile PDF command streams into JS code
|
14 years ago |
sbarman
|
b7360823a2
|
Cleaned up code, renamed PDFFunction class
|
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 |
sbarman
|
aa6d9f75a3
|
cleaned up code
|
14 years ago |
sbarman
|
9fc97d94e8
|
Implemented type 2 shading for the pdf (aka gradients)
|
14 years ago |
Vivien Nicolas
|
6364e7fad5
|
Forgot to push function calls changes to get the unicode char from a random code
|
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
|
f802ad05b2
|
Fix an issue with the setTimeout method used for waiting for fonts to load
|
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
|
3973b01ec9
|
Merge to upstream
|
14 years ago |
Vivien Nicolas
|
2dc7bda2bc
|
Merge the stream handling changes with the Font code
|
14 years ago |
Vivien Nicolas
|
2c4a0aa269
|
Undo last patch, it broke font rendering
|
14 years ago |
Andreas Gal
|
83e100b013
|
starting position of a stream is relative to the file, not the current stream
|
14 years ago |
Andreas Gal
|
e0a6c8ef76
|
use const instead of var
|
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 |
Andreas Gal
|
bf2c525788
|
remove debug code
|
14 years ago |
Vivien Nicolas
|
066e4c45e0
|
Remove the Type2 validation data from the tree
|
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 |