1vga_gettextfont(3)            Svgalib User Manual           vga_gettextfont(3)
2
3
4

NAME

6       vga_gettextfont, vga_puttextfont - get/set the font used in text mode
7

SYNOPSIS

9       #include <vga.h>
10
11       void vga_gettextfont(void *font);
12       void vga_puttextfont(void *font);
13
14

DESCRIPTION

16       The  functions  gives access to the buffer where svgalib saves the font
17       used  by  the  kernel.    This   is   used   by   the   restorefont(1),
18       savetextmode(1),  and  textmode(1)  utilities  to  restore  a  possibly
19       screwed console font.
20
21       The font buffer occupies 8192 bytes. However, versions 1.2.13 and later
22       use  a  larger  buffer internally and the size of the buffers passed to
23       vga_gettextfont(3)   and   vga_puttextfont(3)   can   be    set    with
24       vga_ext_set(3).
25
26       The  functions  give access to the internal buffers of svgalib, not the
27       font tables of the VGA card. This means that  both  functions  must  be
28       called  in  graphics mode and a newly set font takes effect only at the
29       next vga_setmode(TEXT) call.
30
31

SEE ALSO

33       vga_setmode(3), vga_ext_set(3), svgalib(7), vgagl(7), libvga.config(5),
34       restorefont(1), restoretextmode(1), restorepalette(1), savetextmode(1),
35       textmode(1), vga_dumpregs(3), vga_gettextmoderegs(3), dumpreg(1)
36

AUTHOR

38       This manual page was edited  by  Michael  Weller  <eowmob@exp-math.uni-
39       essen.de>.  The  exact  source of the referenced function as well as of
40       the original documentation is unknown.
41
42       It is very likely that both are at least to some extent are due to Harm
43       Hanemaayer <H.Hanemaayer@inter.nl.net>.
44
45       Occasionally  this  might be wrong. I hereby asked to be excused by the
46       original author and will happily accept any additions or corrections to
47       this first version of the svgalib manual.
48
49
50
51Svgalib (>= 1.2.11)              27 July 1997               vga_gettextfont(3)
Impressum