Supported Browsers Home   
fix32_t Previous   
font_lib_t Next   
Type Definitions Up   

font_info_t

Declaration

struct font_info_t {
    char            familyName[_MGL_FNAMESIZE];
    short           fontLibType;
    ibool           isFixed;
    char            regularFace[256];
    char            boldFace[256];
    char            italicFace[256];
    char            boldItalicFace[256];
    }

Prototype In

mgraph.h

Description

Structure representing information about one font family. Family usually contains several faces

Members

familyName

name of family, e.g. 'Arial'

fontLibType

Integer representing the type of font library file. Will be one of the values defined by the MGL_fontLibType enumeration.

isFixed

True if the font is fixed width, false if proportional font.

regularFace

Filename of font file with regular face. Pass this to MGL_openFontLib to load the font. Will be empty string if the family does not contain this face.

boldFace

Filename of font file with bold face. Pass this to MGL_openFontLib to load the font. Will be empty string if the family does not contain this face.

italicFace

Filename of font file with italic face. Pass this to MGL_openFontLib to load the font. Will be empty string if the family does not contain this face.

boldItalicFace

Filename of font file with regular face. Pass this to MGL_openFontLib to load the font. Will be empty string if the family does not contain this face.

 

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