gl_setfont(3)

gl_setfont3

Set the text font to be used

Usage

#include <vgagl.h>

void gl_setfont(int fw, int fh, void *fp);

Overview

Use the font stored as character bitmaps at fp, with characters of size (fw, fh), as the basic font for write operations. Note that the font included in the library must be expanded first, because it is stored bit-per-pixel; this is not required if the FONT_COMPRESSED gl_setwritemode(3) flag is set.

Releases

Unchanged in 5 releases since Debian 3.1 (Sarge).

  1. 3.1–7

Author

This manual page was edited by Michael Weller <[email protected]>. The exact source of the referenced demo as well as of the original documentation is unknown.

It is very likely that both are at least to some extent are due to Harm Hanemaayer <[email protected]>.

Occasionally this might be wrong. I hereby asked to be excused by the original author and will happily accept any additions or corrections to this first version of the svgalib manual.

From libsvga1-dev 1:1.4.3-33 in Debian 7 (Wheezy). Parsed by carta from the page's man source.