[cairo] Freetype to Cairo - newb needs help

Behdad Esfahbod behdad at behdad.org
Mon Oct 22 12:20:47 PDT 2007


On Mon, 2007-10-22 at 18:03 +0200, Donn wrote:
> On that ctypes thing: Ouch. Any hints on how I can call 
> FT_Init_FreeType(&library) and then FT_New_Face( library, fontfilename, 0, 
> &face) ? It seems all the parameters are to complex structures which house 
> other structures. Do I have to create buffers in Python for all of them? 

No.  FT_Library and FT_Face are in fact pointers...  FreeType has some
unconventional coding conventions.

> Sorry, really lost here.
> /d
-- 
behdad
http://behdad.org/

"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