AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
ZapRedraw allows fonts to have substyles ie. italic, bold etc. variants.
The substyles can be changed using the 0,9 and 0,10 control codes
in the redraw text. VDU mode supports these substyles itself, but
in DSA mode you will need to change font in an extensionroutine=>extroutine>, which can support up to 256 substyles. 

However, if you use the new font handles, the use of substyles is
made much easier since font changes are handled automatically by ZapRedraw.
In these cases, the substyle bits have standard meanings.

Standard substyle bits
Bit     Style

0     Strikethrough
3     'Inverse' (only in ZapRedraw_PrepareDataLine)
5     *Bold*
6     /italic/
7     _underlined_

[sh-index] Back to list of manuals