| www.delorie.com/gnu/docs/hp2xx/hp2xxinf_28.html | search |
![]() Buy GNU books! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This section is intended for those few users who might care to
improve the built-in character set of hp2xx.
HP-GL plotters feature built-in fonts with both fixed and variable-width characters. There are commands for font selection and quick switching between two pre-selected fonts, and there is also a way for users to download own character definitions.
hp2xx currently features just a few fixed-width character sets.
If you plan to modify these characters set or to add more,
you need an understanding of how characters are drawn by
hp2xx. The source file `charset.h' contains a comment
explaining this procedure. Below you find a (modified) copy of
this:
This file defines a standard character set by elementary
"draw" & "move" commands. The format is a very compact one from
the old days where every byte was still appreciated.
A font or character set is an array of strings. Each character is
addressed by its ASCII code.
A character is a (NULL-terminated) string of bytes. Each byte
codes for a draw or move action according to the code below:
|
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |