The following article was printed in April 1988 of the magazine „8000 PLUS".
A simple BASIC program defining characters
Font Definer
by D Atkin
 
Calling all amateur font designers - here is your chance to compete with the professionals. This program allows you to define, save and load new character screen sets on your PCW. This means that when you are bored with the tedious old standard font that always appears on screen, you just load in a fancy modern face or a traditional hand-writing font - all to your own design.
Listings Plus readers seem to have a fascination for font design. Inspired by the handwriting font program we printed in issue 15 (December), several readers have sent in font designing programs of amazing sophistication. This one gives you all the basics in only 63 lines, and anyone really wanting to add the fancy touches can do that themselves.
The idea is that when you choose to define a letter the program shows you an eight by eight grid. You then press the key for the letter you want to redefine and the letter is picked out using a diamond shape to show the pixels that are on (the pixels are the tiny dots that can be switched on or off to create the shape of the characters). You can redefine any of the characters that you can see on the screen, including any funny ones you normally get by pressing [EXTRA] or [ALT] and a key.
Once you load the character set (see later on) all programs you run will use that set to display their screen output in until you change the font or reset the machine.
All you have to do is...
Just move the cursor round the grid switching the pixels on or off by pressing [ENTER]. The character in its correct size is shown at the side to let you see how your changes are working. When you are pleased with it just press [EXIT] and the letter will be changed immediately. It will ask if you want to redefine another character.
Once you have redefined all the letters you want, just take option 1 from the menu and the newly defined character set will be saved in a file under the name you choose. Then any time you want to load this particular set all you need do is run the program and take the load option. Just enter the name of the font you want when prompted.
It is surprising how many different fonts you can produce in a small eight by eight grid and of course you don't need to stick just to letters. You can use the grid to design your own symbols and designs. Hours of fun.
One disadvantage is that the fancy fonts you design can only be used on the screen, not the printer (except tor 8000 series owners, if they do a screen dump - [EXTRA]+[PTR]) but you can't have everything. Once a new font is loaded it will stay with you until you load a new one or restart the machine.
A handy tip, the first time you use the program, is to save the standard PCW font unchanged (just pick the save option - No 1 - and save under the name 'Normal' or something easy to remember). Then when you find that the fancy font you have defined is giving you a headache you can just load the 'Normal' set and you are back to something readable.
With a little ingenuity you could write a program which loaded a new character set, used the new characters in a fancy screen display program, and restored the old set before it exited.
[BASIC listing and assembler listing]

HTML customization by Werner Cirsovius
December 2014
© 8000 PLUS