home *** CD-ROM | disk | FTP | other *** search
-
-
- SetFont V2.5 by Dave Haynie
-
-
- SetFont V2.5 is a public domain program designed to allow the system
- font of the Amiga to be changed in various different ways. The program is
- called from a shell or startup-sequence script, and has the form:
-
- SetFont [fontname [point [places]]]
-
- where:
-
- fontname Specifys the name of a standard Amiga
- bitmapped font from the FONTS: directory.
- While any font can in theory be used, the
- system has trouble with very large ones,
- and some programs may have trouble with any
- font that's not 8x8.
-
- point Specifys the height of the font, in pixels.
- If that actual size isn't found, the closest
- available is substituted. The default for
- this is 8.
-
- places There are several places the system keeps
- fonts. When you change to a working font
- you may want that font everywhere in the
- system, in which case, no specifier is set.
- Otherwise, the following places are known
- by SetFont:
-
- BAR This is the "BarLayer" font for the WorkBench
- screen. Among other things, the text in any
- string gadgets BEFORE you select them comes
- from this location.
-
- SCREEN This specified the default font for the
- WorkBench screen. All menus and newly built
- windows will inherit this font as their
- default font. Technically speaking, this is
- a font descriptor stored in the screen
- structure.
-
- TITLES This specifies the font that's mainly used
- for window title bars. Technically speaking,
- this specifies the font of the screen's
- RastPort.
-
- WINDOW This specifies the font for the current window.
- It will case that window to be cleared. The
- reason for this is that the window's font is
- not a default, but inherited from the screen
- and stored in the window's ConUnit. That
- screen clear is the result of rebuilding the
- window's ConUnit to bring in the new font.
-
- And that's about it. Please feel free to use this program and the
- source code as you see fit. If you find any bugs, please let me know about
- them.
-
- -Dave Haynie
-
- PLINK : D-Dave H
- bix : hazy
- usenet : {rutgers,uunet}!cbmvax!daveh
-