|   | 
 
The 
 
SHOWFONT procedure displays a TrueType or 
 
vector-drawn font (from the file 
hersh1.chr
, located in the main IDL directory) on the current graphics device.
 
This routine is written in the IDL language. Its source code can be found in the file 
showfont.pro
 in the 
lib
 subdirectory of the IDL distribution.
To create a display of the Helvetica italic TrueType font on the screen:
SHOWFONT, 'Helvetica Italic', 'Helvetica Italic', /TT_FONT
To create a display of Font 3 for PostScript:
SET_PLOT, 'PS' ; Set output to PostScript.
SHOWFONT, 3, 'Simplex Roman' ; Display font 3.
DEVICE, /CLOSE ; Close the new PS file (saved by default as idl.ps).