setfont-n font [encoding] [size]

Default Command lineScope Available in
(undefined)nonegeneration abcm2ps
abc2svg

Set the alternate fonts n 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.

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