GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  VGA_PUTTEXTFONT (3)

NAME

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

CONTENTS

Synopsis
Description
See Also
Author

SYNOPSIS

#include <vga.h>

void vga_gettextfont(void *font);
void vga_puttextfont(void *font);

DESCRIPTION

The functions gives access to the buffer where svgalib saves the font used by the kernel. This is used by the restorefont(1), savetextmode(1), and textmode(1) utilities to restore a possibly screwed console font.

The font buffer occupies 8192 bytes. However, versions 1.2.13 and later use a larger buffer internally and the size of the buffers passed to vga_gettextfont(3) and vga_puttextfont(3) can be set with vga_ext_set(3).

The functions give access to the internal buffers of svgalib, not the font tables of the VGA card. This means that both functions must be called in graphics mode and a newly set font takes effect only at the next vga_setmode(TEXT) call.

SEE ALSO

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

AUTHOR

This manual page was edited by Michael Weller <eowmob@exp-math.uni-essen.de>. The exact source of the referenced function 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 <H.Hanemaayer@inter.nl.net>.

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.

Search for    or go to Top of page |  Section 3 |  Main Index


Svgalib (>= 1.2.11) VGA_GETTEXTFONT (3) 27 July 1997

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.