FT_New_Face_From_FOND
Creates a new face object from an FOND resource.
|
inout |
library |
A handle to the library resource.
|
|
input |
fond |
An FOND resource.
|
face_index |
Only supported for the -1 `sanity check' special case.
|
|
output |
aface |
A handle to a new face object.
|
|
return |
FreeType error code. 0 means success.
|
notes |
This function can be used to create FT_Face abjects from fonts that are installed in the system like so:
fond = GetResource( 'FOND', fontName );
error = FT_New_Face_From_FOND( library, fond, 0, &face );
|
|