X Resources Fonts

Fonts may be set using simple font names or the X Logical Font Description (XLFD) naming method. The XLFD property name syntax is:
    -Foundry-FamilyName-WeightName-Slant-SetwidthName-AddStyleName -PixelSize-PointSize-ResolutionX-ResolutionY-Spacing-AverageWidth -CharSetRegistry-CharSetCoding
The wildcards "?" and "*" may be used in a property name to match one and one or more characters, respectively. The font that best matches the description is used.

To see all the XLFD fonts available on your system use:

    $ xlsfonts [-options] [-fn pattern]
or browse them by property names with:
    $ xfontsel
To see other valid font names on your X Windows system with IDL you can use the function:
    IDL> foo = xfont()

Some example simple font names:

    Idl*fontList: 10x20
    Idl*fontList: 12x24
    Idl*fontList: 6x9bold
    Idl*fontList: 7x14
    Idl*fontList: 7x14bold
    Idl*fontList: 8x13
    Idl*fontList: 9x15
    Idl*fontList: 9x15bold
    Idl*fontList: courier
    Idl*fontList: courier-bold
    Idl*fontList: fixed
    Idl*fontList: gillsans
    Idl*fontList: helvetica
    Idl*fontList: helvetica-bold
    Idl*fontList: screen
    Idl*fontList: terminal
    Idl*fontList: times-bold
    Idl*fontList: times-roman

Some example XLFD format font names:

    Idl*fontList: -adobe-times-medium-r-normal--14-140-75-75-p-74-iso8859-1
    Idl*fontList: -lineotype-times-medium-r-normal--14-140-72-72-p-73-iso8859-1
    Idl*fontList: -dt-interface user-medium-r-normal-xxl*-*-*-*-*-m-*
    Idl*fontList: -dt-interface user-medium-r-normal-xs*-*-*-*-*-m-*
The following are example Solaris Common Desktop Environment (CDE) iso8859-1 (US English) fonts. ISO international English fonts are the same but ending with iso8859-15. For others available see the Font Style Manager.

The default CDE desktop (dt) system interface Small(3) font:
Idl*fontList: -dt-interface system-medium-r-normal-s sans-14-140-72-72-m-82-iso8859-1

The default CDE desktop (dt) system interface Medium(4) font:
Idl*fontList: -dt-interface system-medium-r-normal-m sans-17-170-72-72-p-97-iso8859-1