home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 360b.lha / SetFont_v2.7 / README < prev    next >
Text File  |  1990-04-06  |  2KB  |  71 lines

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