setfont-n font [encoding] [size]

Default Command line Scope Available in
(undefined)nonegeneration abcm2ps
abc2svg

Set the nth alternate font for strings.

In most strings, the current font may be changed by "$n" (n = 0, 1 .. 9). "$0" resets the font to its default value.

X:1 %%pagewidth 10cm M:C L:1/4 %%setfont-1 sans-serif 20 K:C %%begintext %%Default font. %% $1Alternate font 1. %% $0Back to default. %%endtext