|
|
|
|
font_t
Declaration
struct font_t {
char name[_MGL_FNAMESIZE];
short fontType;
short maxWidth;
short maxKern;
short fontWidth;
short fontHeight;
short ascent;
short descent;
short leading;
short pointSize;
}
Prototype In
mgraph.h
Description
Structure representing an MGL font ready for drawing. MGL fonts are loaded from disk in two flavors, either vector fonts or bitmap fonts. Vector fonts represent the characters in the font as a set of lines that are drawn, and vector fonts can be scaled and rotated to any desired angle. Vector fonts however do not look very good when rasterized at high resolutions. Bitmap fonts represent the characters in the font as small monochrome bitmaps, and can be either fixed width fonts or proportional fonts. Bitmap fonts are also what are generated when you load a TrueType or Adobe Type 1 scalable font library from disk.
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com