[cairo] Cairo and ISO C++
behdad at behdad.org
Wed Jan 22 05:35:07 PST 2014
On 14-01-22 08:24 AM, Simon Budig wrote:
> 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.
Correct. I was pointing out that there is no limitation whatsoever in cairo
itself. As you pointed out, it's a Pango limitation. And one we don't quite
know how to fix.
More information about the cairo