ufmOpenTypeface(3w) ufmOpenTypeface(3w)
ufmOpenTypeface - open a typeface
#include <ufm.h>
int ufmOpenTypeface(char *typefaceName, unsigned int *typefaceHandle)
ufmOpenTypeface opens a specified typeface, and returns a handle for that
typeface. When you are finished with that typeface, use the function
ufmCloseTypeface to close it.
typefaceName specifies the name of a typeface. If you are not sure what
to specify, get a list of name of available typefaces by calling the
function ufmGetTypefaceList.
ufmOpenTypeface uses the argument typefaceHandle to return a handle for a
specified typeface.
ufmCloseTypeface(3w), ufmGetTypefaceList(3w)
If a specified typeface is not found, ufmOpenTypeface returns the value
UFM_INVALID_NAME. Else, it returns the value UFM_NO_ERROR.
UFM_INVALID_VALUE and UFM_NO_ERROR are defined in the header file
<ufm.h>.
PPPPaaaaggggeeee 1111 [ Back ]
|