[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Segfault with otf and face_index == -1
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] Segfault with otf and face_index == -1 |
Date: |
Thu, 03 Nov 2005 18:18:43 +0100 (CET) |
> > 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
- Re: [ft-devel] Segfault with otf and face_index == -1,
Werner LEMBERG <=