169
Select And Print Downloaded TrueType Fonts
After downloading the TrueType font using any of the following methods, you
can access the downloaded TrueType font by using the command as
described in the PGL Programmer’s Reference Manual.
To Print ASCII Characters
You can print characters from your font using the currently selected character
set. You can also select a new character set using the ISET command.
Example:
~CREATE;FORM
FONT;NAME ARIAL.TTF
ALPHA
10;10;2;2;$01234$
STOP
END
~EXECUTE;FORM;1
To Print All Characters
You can print all of the characters in your font using UTF-8. You must have a
UTF-8 datastream to print.
Example:
~CREATE;FORM
ISET;’UTF8’
FONT;NAME ARIAL.TTF
ALPHA
10;10;2;2;$UTF-8 data$
STOP
END
~EXECUTE;FORM;1