1gl_expandfont(3) Svgalib User Manual gl_expandfont(3)
2
3
4
6 gl_expandfont - expand a packed pixel font
7
8
10 #include <vgagl.h>
11
12 void gl_expandfont(int fw, int fh, int c, void *sfp, void *dfp);
13
14
16 Convert a bit-per-pixel font at sfp with 256 characters of size (fw,
17 fh) to an expanded font of character pixmaps, stored at dfp (size will
18 be 256 * fw * fw * BYTESPERPIXEL). All non-zero pixels are set to
19 color c.
20
21 It is possible to use non expanded fonts (but it is slower) when the
22 FONT_COMPRESSED gl_setwritemode(3) flag is set.
23
24
26 svgalib(7), vgagl(7), svgalib.conf(5), testgl(1), gl_colorfont(3),
27 gl_font8x8(3), gl_setfont(3), gl_setfontcolors(3), gl_setwritemode(3),
28 gl_write(3), gl_writen(3).
29
30
32 This manual page was edited by Michael Weller <eowmob@exp-math.uni-
33 essen.de>. The exact source of the referenced demo as well as of the
34 original documentation is unknown.
35
36 It is very likely that both are at least to some extent are due to Harm
37 Hanemaayer <H.Hanemaayer@inter.nl.net>.
38
39 Occasionally this might be wrong. I hereby asked to be excused by the
40 original author and will happily accept any additions or corrections to
41 this first version of the svgalib manual.
42
43
44
45Svgalib (>= 1.2.11) 2 Aug 1997 gl_expandfont(3)