]> git.donarmstrong.com Git - lilypond.git/commit
Completely revised support for conversion of TTFs to T42 fonts.
authorWerner Lemberg <wl@gnu.org>
Sat, 12 May 2007 03:59:13 +0000 (00:59 -0300)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sat, 12 May 2007 03:59:13 +0000 (00:59 -0300)
commit679bd1056a71f376af7ee6975d6dc6784cfbafb0
tree65104ec75cdec8bb2359c0a1b838518a6f14bb15
parentdc3709e0198610f8c0723e74202ac4792230b682
Completely revised support for conversion of TTFs to T42 fonts.

. In print_header(), the various dictionary values are now correct;
they have been incorrectly scaled.  The font revision value is now
handled as a 16.16 fixed-scale value.

. t42_write_table() (which was only present in Han-Wen's git branch)
has been completely rewritten; as can be seen, much more has to be
done than previously expected...  I've changed the layout of the
/sfnts array to use the same format as FontForge; this has helped
a lot during debugging.

. It was necessary to extend print_body() a lot; we have to
construct our own TTF header.  It is perhaps overkill to compute
the correct checksums, but...

. Glyph index 0 is now always called `.notdef'.
lily/ttf.cc