home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 192.lha / SetFont_v2.5 / README < prev    next >
Text File  |  1988-04-28  |  2KB  |  67 lines

  1.  
  2.  
  3.             SetFont V2.5 by Dave Haynie
  4.  
  5.  
  6.     SetFont V2.5 is a public domain program designed to allow the system
  7. font of the Amiga to be changed in various different ways.  The program is
  8. called from a shell or startup-sequence script, and has the form:
  9.  
  10.     SetFont [fontname [point [places]]]
  11.  
  12.     where:
  13.  
  14.         fontname    Specifys the name of a standard Amiga 
  15.                 bitmapped font from the FONTS: directory.
  16.                 While any font can in theory be used, the
  17.                 system has trouble with very large ones,
  18.                 and some programs may have trouble with any
  19.                 font that's not 8x8.
  20.  
  21.         point        Specifys the height of the font, in pixels.
  22.                 If that actual size isn't found, the closest
  23.                 available is substituted.  The default for
  24.                 this is 8.
  25.  
  26.         places        There are several places the system keeps
  27.                 fonts.  When you change to a working font
  28.                 you may want that font everywhere in the
  29.                 system, in which case, no specifier is set.
  30.                 Otherwise, the following places are known
  31.                 by SetFont:
  32.  
  33.             BAR        This is the "BarLayer" font for the WorkBench
  34.                 screen.  Among other things, the text in any
  35.                 string gadgets BEFORE you select them comes
  36.                 from this location.
  37.  
  38.             SCREEN    This specified the default font for the 
  39.                 WorkBench screen.  All menus and newly built
  40.                 windows will inherit this font as their 
  41.                 default font.  Technically speaking, this is
  42.                 a font descriptor stored in the screen
  43.                 structure.
  44.  
  45.             TITLES    This specifies the font that's mainly used
  46.                 for window title bars.  Technically speaking,
  47.                 this specifies the font of the screen's
  48.                 RastPort.
  49.  
  50.             WINDOW    This specifies the font for the current window.
  51.                 It will case that window to be cleared.  The
  52.                 reason for this is that the window's font is
  53.                 not a default, but inherited from the screen
  54.                 and stored in the window's ConUnit.  That
  55.                 screen clear is the result of rebuilding the
  56.                 window's ConUnit to bring in the new font.
  57.  
  58.     And that's about it.  Please feel free to use this program and the
  59. source code as you see fit.  If you find any bugs, please let me know about
  60. them.
  61.  
  62.         -Dave Haynie
  63.  
  64.         PLINK  :    D-Dave H
  65.         bix    :    hazy
  66.         usenet :    {rutgers,uunet}!cbmvax!daveh
  67.