[cairo] Freetype+Python code snippet crashes cairo 1.10.0

Gregor Mückl GregorMueckl at gmx.de
Sat Sep 18 04:10:53 PDT 2010

Hi everybody,

there is this code snipped on the cairo homepage for loading freetype fonts 
from Python code:


This code worked flawlessly on my system (Gentoo Linux) until cairo 1.8.8. Then 
there was an update to cairo 1.10.0 and this code now crashes cairo with a 
segmentation fault in the call to cairo_set_font_face (the line before the 
laslt error check). Reverting back to cairo 1.8.8 resolves that issue.

Can anyone else reproduce this crash?

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

More information about the cairo mailing list