Re: [ft-devel] freetype2 question

2008-11-05 Thread Werner LEMBERG
> > FT_Set_Char_Size > > FTC_ImageCache_LookupScaler > > You can't use these 2 functions together. If you use > FTC_ImageCache_LookupScaler, then the Freetype cache API will handle > setting the size on the font. It does this with the scaler > parameter you pass to FTC_ImageCache_LookupScaler.

[ft-devel] missing out-of-memory check when creating family name for TrueType fonts

2008-11-05 Thread Graham Asher
Here's another problem caused by a missing out-of-memory check. The function tt_face_get_name in sfobjs.c is defined as returning NULL if no name is present, but also returns NULL if the name is in fact present but there is no memory to allocate a copy of the name. This ambiguity leads to FT_Ope