[cairo] Cairo and ISO C++
Simon Budig
simon at budig.de
Wed Jan 22 05:24:18 PST 2014
Behdad Esfahbod (behdad at behdad.org) wrote:
> On 14-01-22 07:32 AM, Tavmjong Bah wrote:
> > 2. Font selection. The world is more than 'normal' and 'bold' or
> > 'normal' and 'italic'. Font families often have many more variants. This
> > is a very important point for designers. For a better idea of what is
> > required see: http://www.w3.org/TR/css3-fonts/
>
> You have nicely summarized some of the shortcomings of the cairo *toy*
> text API.
That problem however is shared with pango / pango_cairo, which - at
least that is my impression - would be intended for more serious
typesetting - i.e. creating a layout and rendering it.
See e.g. PangoStyle, PangoVariant and by extension PangoFontDescription.
Pango bug #341213 ( https://bugzilla.gnome.org/show_bug.cgi?id=341213 )
is related.
Bye,
Simon
--
simon at budig.de http://simon.budig.de/
More information about the cairo
mailing list