The XFONT function creates a modal widget for selecting and viewing an X Windows font. The function returns a string containing the name of the last selected font. If no font is selected, or the "Cancel" button is clicked, a null string is returned.
Calling XFONT resets the current X Windows font.
This routine is written in the IDL language. Its source code can be found in the file
xfont.pro
in the
lib
subdirectory of the IDL distribution.