DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

nfbFontInfo(D4nfb)


nfbFontInfo -- no frame buffer structure to describe fonts

Synopsis

#include "nfbGlyph.h"

Description

The nfbFontInfo structure contains the glyph data and information that is needed to render and cache fonts on the screen.

Structure definition

typedef struct _nfbFontInfo {
	Bool isTE8Font;
	unsigned char **ppBits;
	int count;
	int width;
	int height;
	int stride;
} nfbFontInfo, *nfbFontInfoPtr;

Structure members

The members are:

isTE8Font
true if the font is an 8-bit text emulation font. DrawFontText(D3nfb) will not be passed non-text emulator fonts. If isTE8Font is false, the rest of the fields in the structure are invalid.

ppBits
pointer to the array of glyphs in the font

count
number of glyphs in the font

width
width of each glyph in the font

height
height of each glyph in the font

stride
width of each scanline in the font glyph, in bytes. See ``stride'' in Developing NFB graphics adapter drivers.

Version applicability

This structure is supported for NFB drivers on all releases of SCO OpenServer 5, SVR5, and AIX 5L.

References

nfbFontPSPtr(D4nfb)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005