FT_Error FT_Done_Face(FT_Face Face);
Le résultat est 0 en cas de succès.
#include <ft2build.h>
#include <freetype/ftoutln.h>
#include <freetype/ftstroke.h>
FT_Library Bibliotheque;
char NomFichierPolice[256];
FT_Face Face;
...
if (FT_Init_FreeType(&Bibliotheque))
{
...
}
...
if (FT_New_Face(Bibliotheque, NomFichierPolice, 0, &Face))
{
...
}
...
if (FT_Done_Face(Face))
{
...
}
...
if (FT_Done_FreeType(Bibliotheque))
{
...
}
...