[cairo] Pango AttributesList Question

Andrew Cowie andrew at operationaldynamics.com
Tue Sep 7 20:54:01 PDT 2010


On Tue, 2010-09-07 at 21:28 -0400, Owen Taylor wrote:
>  * Setting a PangoFontDescription is a shorthand for setting
> 
>     family, style, weight, variant, size

> To me its very expected. Anything else would be surprising.

Sure, but if you had a FontDescription Attribute with "Liberation Serif,
10" then it's not obvious that this includes "style=normal". To me it
looked like "style=(unspecified)". Hence the surprise that it knocked
out my previously set Style Attribute.

{shrug}

Now we know!

Thanks,

AfC
Sydney

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.cairographics.org/archives/cairo/attachments/20100908/2f660e06/attachment.pgp>


More information about the cairo mailing list