113
<WS
n
>
Write Soft character
Screen Handling & Text
Description
Write the soft character number
n
of the current font at the current cursor position
Parameters
n
= 0 to 3
- soft font character
Modes
All Modes
Notes
A soft font is any user defined image that is the same size as the current font.
The display can accommodate 4 soft fonts (
n
= 0 to 3) for each font F1 to F5.
The soft character written assume all the current attributes, just as any normal character.
Although normally used for text characters or symbols that not in the normal character set, the soft
characters can be used to store and write any image of the correct size.
This command will assume that the soft font specified has already been downloaded or restored. No
error is generated if a soft font does not exist, it just writes uninitialised data.
Soft fonts are lost when power is removed from the display. Most fonts can be saved / restored as a
block using the <KF> Keep Fonts and <FR> Font Restore commands
Uses
The <WS> command allows:
•
Any special character to be written to the screen just like any other character
Example
<CS>
Clear Screen
<F5>
Set largest font size
<DF0>
Tell the display that a soft character number 0 (for Font 5) is going
to be downloaded
Binary download of
graphics file
Send a .BMP file of the required soft character to the display. In
this case a 48 x 29 pixel image of a GBP symbol (£)
<WS0>
Write the soft character to the screen
<WT500>
Write normal text
See Also
KF
Keep Font
FR
Font Restore