(init-graph) ; switch to graphics mode (set-text-justify 'LEFT 'BOTTOM) ; 'standard'Here 'standard' should be understood as a joke, because it is not the mode BGI starts in, contrary to obvious common sense. Now |Out-hershey| can be used, either like |Out-Text| or like |Out-Text-XY|. With the latter option, supply a point as second argument. In all cases, supply a string as first argument. The general format of the string is:
A 〈font〉 is |||〈name〉 or |||〈name〉@
〈scale〉.
Name can be one of |RM10|, |RM2L|, |RM2B| (roman simple, light and bold),
|SL10|, |SL2L|, |SL2B| (same in slanted),
|SS10|, |SS2L|, |SS2B| (same in sans-serif),
|GR10|, |GR2L|, |GR2B| (same in
γρεεκ),
|AN20|, |GO20|, |OE20| (antique, gothic and old english),
|SY10|, |SY20| (symbols) and |CY20| (cyrillic).
〈scale〉 can be a number (size in multiples of 8 pixels) or a pair
|(|〈x〉|,|〈y〉|)| (X- and Y-scaling).
Sizes should range between 1 and 10.
(out-hershey "\\rm2b@1 J. Bond 007?")
(out-hershey "\\rm2b@2 J. Bond 007?")
(out-hershey "\\rm2b@3 J. Bond 007?")
(out-hershey "\\rm2b@4 J. Bond 007?")
(out-hershey "\\rm2b@5 J. Bond 007?")
(out-hershey "\\rm2b@(3,1) J. Bond 007?")
(out-hershey "\\rm2b@(1,3) J. Bond 007?")
(out-hershey "\\rm2l@4 J. Bond 007?")
(out-hershey "\\sl2b@4 J. Bond 007?")
(out-hershey "\\ss2b@4 J. Bond 007?")
(out-hershey "\\an20@4 J. Bond 007?")
(out-hershey "\\go20@4 J. Bond 007?")
(out-hershey "\\oe20@4 J. Bond 007?")
(out-hershey "\\cy20@4 L.Q.Cnpa`web")
(out-hershey "\\gr2b@4 Ledem acam")
An 〈item〉 is either a character, or a symbol, or a group (||). Text is any string of characters, except |^|'s and |_|'s must be prefixed by a backslash (they in effect are treated as symbols).
These are the symbols available: