Enter a ZIP code to get a forecast:
Setup Location

WRN Logo

Font List File (.fnl)

Since font names can be quite long, a font list file is provided to create font aliases.  The default font list file is "wxp.fnl".   This file is used for font aliases even if nothing is specified with the font_list resource.

FORMAT

The format of the font list file is:

alias font_name
alias font_name
...

Where:

  • alias -- The alias to use when specifying fonts through the color resources "-cod=green:fo=modern"
  • font_name -- The full font name.  By default this is a WXP font file but it can be a system font if the font name is preceded by a "#".  System fonts are for display only.

EXAMPLES

Here is a sample font list file:

mod     modern.fnt
helv    #-adobe-helvetica-bold-r-normal-*-12-*-*-*-*-*-*-*
courier #-adobe-courier-bold-r-normal-*-12-*-*-*-*-*-*-*
btimes  #-adobe-times-bold-r-normal-*-12-*-*-*-*-*-*-*
times   #-adobe-times-medium-r-normal-*-12-*-*-*-*-*-*-*
school  #-adobe-new century schoolbook-bold-r-normal-*-12-*-*-*-*-*-*-*   
wtimes  #Times New Roman:14
warial  #Arial

The alias is listed first and the actual font name is listed next. If the font is preceded with a "#", it is a system font and not a WXP font.  The first font listed is a WXP font.  The next 5 are X11 fonts (Unix) and the last two are Windows fonts.  System fonts are generally fixed and won't scale as the window is enlarged.  System fonts are not printable.  To specify a font, use the color resource:  "-cot=white:fo=warial" or the plot parameter "-pp=font:helv".  The default font list file is "wxp.fnl" which will be used if it exists.  Otherwise, WXP will use the "modern.fnt" file or the fonts listed in the font_list resource. To specify a different font list file, use "-fl=fi:new_fonts.fnl".

SEE ALSO


For further information about WXP, email technical-support@weather.unisys.com
Last updated by Dan Vietor on August 10, 1998