[cairo] Dodgy Python Example

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Thu Dec 17 18:25:53 PST 2015

I’m thinking this example
<http://cairographics.org/cookbook/freetypepython/> of how to fudge
using FreeType fonts with Pycairo should be deprecated in its present
form. Because it doesn’t do the set_user_data dance, the FreeType face
will not be correctly disposed when the Cairo font face is disposed.

Fixing this will make the example even more fiddly than it is already.

Is it time to admit that Pycairo is a dead project? I did look at
trying to fix it up, and decided that having to write the translation
layer in C was just too much work.

More information about the cairo mailing list