home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of A1200
/
World_Of_A1200.iso
/
programs
/
communic
/
amigafax
/
faxdoc
/
test1.com
< prev
Wrap
Text File
|
1995-02-27
|
2KB
|
73 lines
.FCOM
.FILL
.FONT CGTimes 30
.STYLE UB
Stackable fonts and Style support
.ENDF
Starting at version 1.34, mkafax supports stackable fonts, and the use of
styles, such as Bold, Italic and Underline.
Useage of the command .FONT has been extended, and the commands .STYLE
and .ENDF have been added.
The font system has been modified so that fonts are now nestable. This
means you can set a font/style, and then return to the original
font/style, without needing to know what that was. This can be very
useful for include files, which can return to the original font before
they exit, for example. The .FONT command now takes an optional third
parameter, which defines the requested style to use. This takes the
form of a string, consisting of the letters N, B, U, I and E in any
order, upper or lower case.
.NOFILL
N - Normal
B - Bold
U - Underlined
I - Italics
E - Extended
.FILL
Note that the letters are parsed in order, and that N will clear the
other flags and set the font back to normal. For example,
.FONT topaz 30 BU
.FONT topaz 30 BU
will set the font to topaz 30, Bold and Underlined.
.FONT CGTimes 50 I
.FONT CGTimes 50 I
set CGTimes at 50-point, Italic. You can retain the existing font, but
change its style, by using the new .STYLE command.
.STYLE U
.STYLE U
This is Underlined.
.STYLE IU
.STYLE IU
This is Underlined and Italic.
.ENDF
.ENDF
Pops the font/style back to its previous value.
.ENDF
Popped again
.ENDF
and again
.ENDF
and again
All .FONT and .STYLE commands can now be nested. This means that the
font/style you set will remain in effect until the new command .ENDF
is encountered. After this the previous font/style set will be in
force. The Default font, which can be set from your FAXLIB:Config file
or by environ- mental variable, is always the underlying font. No
matter how many .ENDF commands you enter, this will not be popped from
the font stack. Note that if you have defined a Header font, this
will be automatically pushed for headers, and popped afterwards.