MGL_openFontLibExt

Load a font file for use from an opened file.

Declaration

font_lib_t * MGLAPI MGL_openFontLibExt(
    FILE *f,
    ulong dwOffset,
    ulong dwSize)

Prototype In

mgraph.h

Parameters

f

Open binary file to read font data from

dwOffset

Offset to start of font in file

dwSize

Size of the file in bytes

 

Return Value

Pointer to the font data, or NULL on error.

Description

This function is the same as MGL_loadFont, however it works with a previously opened file. This allows you to create your own large files with multiple files embedded in them.

See Also

MGL_loadFont, MGL_openFontLib, MGL_unloadFontLib, MGL_loadFontInstance, MGL_unloadFontInstance

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com