[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: otf and font-metrics?
From: |
Han-Wen Nienhuys |
Subject: |
Re: otf and font-metrics? |
Date: |
Fri, 17 Dec 2004 13:40:02 +0100 |
address@hidden writes:
> > the OTF font mechanism is shaping up nicely. I do have one question
> > still; we would like to include font metrics in the OTF as well.
> > Currently, we can hack this in using the character table, but it
> > would be nice if we could store the metrics directly in the
> > appropriate fields. Right now, we get the extents of the glyphs,
> > which is nice, but gives strange results when concatenating trills
> > or arpeggio signs.
>
> What exactly do you need to be stored? I fear that we have to add a
> private table (cf. the TeX-related tables `TCHL' and `TEXL' in
> fontforge) in case more than the standard data is necessary.
I don't know what standard data is available. For Lilypond, we need to
have bboxes which are independent of the outline size. In some cases,
the bbox of a glyph is smaller than the bbox of the outline, so we
have adjacent objects overlap nicely.
--
Han-Wen Nienhuys | address@hidden | http://www.xs4all.nl/~hanwen