>>> should we rather try to "break inside Pango" to be able to create
>>> precise outlines for everything that is processed by Pango? The
>>> advantage of this approach would be that lyrics and markups would
>>> be skylined even better.
>
> The reason we are using Pango in the first place is because it is
> good at composing Unicode (with kerning, ligatures, accents, writing
> direction etc etc). So we don't want the outlines of its fonts but
> rather the outlines of the composed result.
AFAIK, Pango returns a list of glyph indices and coordinates to
position glyphs. It's straightforward to feed those indices directly
into FreeType's `FT_Load_Glyph' function which is able to return an
`FT_Outline' structure holding the glyph's outline.
Werner
_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel