lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Font hack - TODO


From: Han-Wen Nienhuys
Subject: Font hack - TODO
Date: Mon, 13 Dec 2004 00:55:42 +0100

Hi,


Current CVS now loads the Feta font through OTF files and
FreeType. The hack is working for the basic postscript output.

Things to do:

 * make an OTF of feta-braces. When this works, we can junk virtual
   fonts/AFM support inside lily

 * figure out a way to export glyphs to TeX; the TeX backend doesn't
   yet support a named-glyph primitive.

Proposal: have mf-to-table.py generate a .tex definition file.
Currently, mf-to-table.py dumps

  \gdef\fetaaccidentalsXC{\char47}%

This should be extended to have 

  \gdef\fetaaccidentalsXC{\loadfetafont\char47}

When loading the OTF font for the TeX backend, the TeX backend will
set

  \font\fetafont feta20 scaled ....
  \font\parmesanfont parmesant20 scaled ...
  \def\loadfetafont{\fetafont}
  \def\loadparmesanfont{\parmesanfont}

the PFA fonts (feta20, parmesan20) contained within an OTF is read
from a SFNT separate table, VIRF (virtual font), which is put there
from gen-bigcheese-scripts.py

When this works, it should be possible to run make web once again,
at which point we should release 2.5.4.

-- 

 Han-Wen Nienhuys   |   address@hidden   |   http://www.xs4all.nl/~hanwen 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]