> > If you call FT_New_Face with face_index < 0, it should return an
> > empty FT_Face object to indicate that the format is supported
> > (otherwise, an error is returned).  Moreover, the face->num_faces
> > field can be used to determine the number of faces within the font
> > file.  After that, the caller must destroy the FT_Face normally
> > with FT_Done_Face
> 
> Ok. You should update the API docs to refelct that.

Done.  Please check the CVS whether it is understandable.

> Also the current code allows you to pass face_index < 0 and aface ==
> NULL. If that is still legal then the following patch is needed to
> avoid leaks ...I think :)

Applied, thanks.


    Werner


_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to