Copyright (c) Hyperion Entertainment and contributors.
AmigaOS Manual: Workbench Fonts
A font or typeface is a graphic design applied to all numbers, alphabetic characters, and symbols. Using fonts, you can change the appearance of the text on your screen or on your printed documents. Because fonts can have attributes applied to them, such as italic or bold, you can use fonts to add emphasis to your text or create a particular impression in your documents: informal, scholastic, journalistic, and so forth. This chapter describes using fonts on the Amiga, including:
- Types of fonts
- Fonts
- Font requesters
- Font Preferences editor
- FixFonts
- Intellifont
Contents
Types of Fonts
Two types of fonts are available on the Amiga: bitmap and outline. Bitmap fonts are defined as a pattern of dots that compose a character. Bitmap font files are stored on disk for each size. Outline font character shapes are defined mathematically and are generated to whatever size or resolution is needed.
Topaz, the Amiga's default font, is a bitmap font stored in ROM. Other bitmap fonts, such as Helvetica, Courier, and Times are included on your Amiga disks. You can, however, create or purchase additional bitmap and outline fonts.
When choosing a font, you also specify a size in pixels, which describes the height of a character. After you have selected a font, the available sizes for it are displayed in a scroll box in a font requester. Higher numbers represent larger fonts. The maximum size allowable is 124 points.
You can use available font sizes or enter a new size. The Amiga can scale both bitmap and outline fonts to a specified size. However, scaled bitmap fonts often appear distorted.
Using Bitmap Fonts
Although bitmap fonts produce acceptable screen displays, their resolution is usually too low for high quality printouts.
Bitmap scaling stretches or squeezes the bitmap pattern, causing scaled bitmap fonts to appear distorted. If you enter a size that is not listed for a bitmap font, try to double an available size or cut an available size in half to preserve the font's proportions. For example, to produce a font between an 18 and 24 point Helvetica, use 22 since it is twice the height of the existing 11 point font. Fonts can also be scaled with the Fonts Preferences editor described on page 8-5.
Some application programs include their own fonts, font management utilities, or font scaling technology. These may use the Amiga's fonts and font technology. Read the application's manual carefully to learn how to produce the fonts you need.
Using Outline Fonts
Outline fonts are available on Amiga systems with Release 2 and higher system software. The Amiga uses Agfa Compugraphic Intellifont® technology that is managed through the Intellifont utility, described in this chapter. Compugraphic fonts for MS-DOS computers can be purchased and used on the Amiga.
Because of their large size and memory requirements, outline fonts are best suited to expanded systems equipped with hard disks. You can use them with floppy disk systems, but you may need to delete items from the Workbench backup disk to make room for them.
Outline fonts can be printed at the highest resolution of your printer, typically better than screen resolution. Outline fonts do not have separate files for each point size; instead, outline fonts are mathematically generated as required. As a result it can take longer on the first try to access an outline font than a bitmap font.
Using Proportional and Non-proportional Fonts
Both bitmap and outline fonts can be proportional or non-proportional. Proportional fonts are those in which each character occupies only the amount of space it actually needs. For example, a w character uses more space than an i character. These fonts are used to display normal text. Non-proportional fonts, also called monospaced fonts, are those in which each character occupies the same amount of horizontal space. Such fonts are easier to handle when creating numeric tables.
Fonts
On the Amiga, fonts are stored in FONTS, which can be a drawer or disk. On a hard drive system, the FONTS: directory is typically on the SYS: partition. For floppy-only systems, fonts are contained on your Fonts disk or in a Fonts drawer on your system floppy disk set. For those familiar with AmigaDOS, you can use the ASSIGN command to add disks or drawers to the FONTS: search path.
For every font you find in FONTS:, there is a file named fontname.font. For bitmap fonts there is also a subdirectory named fontname in which the file names are numbers corresponding to the font size this file contains. For outline fonts, each has a second file named fontname.otag and a file in the subdirectory _bullets_outlines named fontname.type.
Font Requester
A Font requester, shown Figure 8-1, allows you to change your font and font sizes. The standard Amiga font requester is used by the Font Preferences editor and by some applications.
The Amiga font requester window displays the available fonts and corresponding point sizes in adjacent scroll boxes. The name of the selected front and current point size are displayed in gadgets beneath the scroll boxes.
Underneath the text gadgets, a display box shows a sample of the selected font and its size. Tall fonts may not fit within the box. Drag the font requester's sizing gadget to the right to show more of the characters in the font.
Selecting a new font name in the requester does not change the current font size. If the newly selected font does not exist in the current size, it is scaled to that size. Remember that bitmap fonts can appear rough or distorted when scaled. For better quality, select one on the font's existing sizes. If the new font is an outline font, there is a delay while the new font is generated.
The Amiga font requester has a Control menu with six items:
Last Font | Moves through the displayed font list backwards. |
Next Font | Moves through the displayed font list forwards. |
Restore | Recalls the font and size selected when the requester opened. |
Rescan Disk | Looks through the FONTS: search path for newly added fonts. |
OK | Uses the displayed font. The same as using the corresponding gadget. |
Cancel | Restores the original setting. The same as using the corresponding gadget. |
The keyboard shortcuts for these menu items do not work when one of the text gadgets is selected.
Font Preferences Editor
The Font Preferences editor, illustrated in Figure 8-2, allows you to choose the style and size of fonts that the Amiga uses for its user interface.
Note |
---|
Many applications choose their own fonts and are not affected by your choices in the Font editor. |
Selected Fonts Field
The Selected Fonts display shows the current font settings for each type of next on your display.
Font Selection Gadgets
The three gadgets in the middle of the Font editor window allow you to select the type of text to be changed.
Workbench Icon Text | Changes the font used below icons in the Workbench windows. This is the only text for which colors can be specified. |
System Default Text | Changes the font that the Amiga uses to display information, such as the text in the Workbench Output Window and the View By Name mode. |
Screen Text | Changes the font appearing in menus, title bars, and most requesters. |
You can only change the font for one type of text at a time. However, you can change the font for each type without exiting the Font editor.
Selecting Save or Use closes the Font editor; Save saves the changes across sessions and Use lets you use the changes for the current session only. Workbench automatically tries to reset to display the new font choices. You are requested to close any open project, tool, or Shell windows. Disk or drawer windows can remain open.
Note |
---|
Changing the Workbench Icon Text font forces a cleanup of the icons in all open windows. Select the Update All menu item to recall the previous positions. |
Selecting the Cancel gadget closes the Font editor without making any changes.
Font Selection Requesters
The three font selection requesters display the available fonts and point sizes, as well as the current font for the selected type of text.
All fonts can be used for Workbench text or Screen text. However, the font used for the System default text must be a non-proportional font, such as Topaz or Courier. Non-proportional, or monospaced, font characters are all the same width.
Drag the scroll bar or use the scroll arrows to scroll through the names of the available fonts. Select a font by pointing to it and clicking the selection button. Then choose a size for the font by selecting one of the sizes listed or entering a new size.
The font requester for Workbench Icon Text lets you specify the color for the text or the text and field (character background) with the Mode cycle gadget:
- Selecting Text in the Mode gadget displays the text in the color specified by the Text color selection gadget; the field is transparent.
- Selecting Text and Field lets you specify an opaque color for the field. This option lets you ensure that text is legible, regardless of the background pattern.
- Change the color of the text or field by clicking in the color field next to the display button for both Text and Field. Be sure to select two different colors for the text and the field; if the text blends in with the field, the words will not be legible.
The number of available colors is determined by the current Workbench screen mode and the colors themselves are determined by the Palette editor. Workbench screen colors can only be changed within the Palette editor.
FixFonts
FixFonts is a utility for updating .font files after fonts have been added or deleted. Running FixFonts updates all the .font files to match the corresponding font drawers. Double-clicking on the FixFonts icon activates it without opening a window. A requester appears asking for the disk containing Fonts if it is not mounted and there are no assignments for fonts.
Intellifont
The Intellifont utility, which is in the System drawer on the Workbench disk, manages Intellifont outline fonts on your Amiga. Intellifont installs new outline fonts on your system, specifies new sizes for existing fonts, and deletes fonts that are not longer needed. Intellifont also allows you to create bitmap versions of any size outline font that can be used in applications that do not support outline fonts directly. These fonts load faster since they are not computed every time they are used.
Intellifont can use Agfa Compugraphic fonts from MS-DOS FAIS disks, as well as font disks for the Amiga. Since standard Compugraphic FAIS disks are in MS-DOS format, CrossDOS, an Amiga Bridgeboard, or other MS-DOS emulator must be used to convert the files to AmigaDOS format. When the fonts are properly installed, they are available to any application programs that can use them.
Installing Outline Fonts
Figure 8-3 illustrates the Intellifont window.