lilypond-devel
[Top][All Lists]
Advanced

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

Re: Gets vertical skylines from grob stencils (issue 5626052)


From: Werner LEMBERG
Subject: Re: Gets vertical skylines from grob stencils (issue 5626052)
Date: Sun, 26 Feb 2012 19:37:33 +0100 (CET)

>>> 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



reply via email to

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