[cairo] cairo_font_face_create_from_file/data()

Behdad Esfahbod behdad at behdad.org
Sat Sep 15 09:56:41 PDT 2007

On Sat, 2007-09-15 at 18:15 +0800, Jinghua Luo wrote:
> > One issue that can be improved is the from_data() function that in
> cairo
> > design should be from_stream(), but FreeType for example doesn't
> have a
> > from_stream() API so ft implementation would have to read in the
> font
> > data first which is not optimal.
> >   
> FT_Open_Face[1] should do what you want. 

Ah right.  Thanks.


"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