|
|
|
|
MGL_openFontLib
Opens a font library for use.
Declaration
font_lib_t * MGLAPI MGL_openFontLib(
const char *libname)
Prototype In
mgraph.h
Return Value
Pointer to the opened font library, NULL on error.
Description
Locates the specified font library and opens the file. MGL can load any Windows 2.x style font files (Windows 3.x font files are not supported, but Windows 2.x font files are the standard files even for Windows 3.1. Most resource editors can only output 2.x style font files). Consult the Windows SDK documentation for the format of Windows font files.
If the font library was not found, or an error occurred while reading the font library, this function will return NULL. You can check the MGL_result error code to determine the cause.
See Also
MGL_loadFont, MGL_openFontLibExt, MGL_loadFontInstance, MGL_unloadFontInstance, MGL_closeFontLib
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com