[cairo-ft] Add a demonstration of how to handle the lifetime of the FT_Face.
commite94126fb678cecfc61e1b1afb62b8e75e2aec286
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 29 Apr 2008 08:20:30 +0000 (29 09:20 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 29 Apr 2008 08:28:59 +0000 (29 09:28 +0100)
tree84368bd493b71e514a2544197e5e21e8c6919b74
parent78cb05a1b7b4160b8914c75479bd60d0b34b0663
[cairo-ft] Add a demonstration of how to handle the lifetime of the FT_Face.

Extend the documentation for cairo_ft_font_face_create_for_ft_face() to
demonstrate using cairo_font_face_set_user_data() to destroy the FT_Face
after the final reference to the cairo_font_face_t has been dropped.
src/cairo-ft-font.c