[cairo] ttf font

Behdad Esfahbod behdad at behdad.org
Fri Jul 20 21:18:53 PDT 2007

On Fri, 2007-07-20 at 14:53 -0400, Vlad wrote:
> hello,
> how can i load a font directly from the ttf file to use it in cairo?

Use FT_Open_Face() and cairo_ft_font_face_create_for_ft_face().

Have fun with cairo!


"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759

More information about the cairo mailing list