TITLE: Incorrect Screen Font Is Selected PRODUCT: Ami Pro 2.0 DATE: 29-Oct-1991 PROBLEM: Screen fonts do not always accurately match the printer fonts. For example, the PostScript printer font Palatino is specified for text, but the screen font that displays is Caslon Open Face. Changing views or working view percentage may also cause the screen font to change. SOLUTION: In the Windows environment, a printer font (data sent to or resident in the printer that is used to print text) may or may not have a matching screen font (data that is used to display a representation of the printer font on the screen). When there is no matching screen font for a selected printer font or if a screen font that matches a printer font cannot be accurately scaled for the selected view to the specified point size, Ami Pro will display a screen font from those available in the printer font's font family that can be accurately scaled. Since Windows font families are very broadly defined (many of the fonts included in the Adobe Type Manager program supplied with Ami Pro release 2.0 are in the same family as Palatino and Tms Rmn), the screen fonts available within a font family may include choices which are not visually reasonable alternatives for the selected font. For example, in some views the closest match to accurate font size may be a font that in style characteristics is not a good alternative for the selected printer font (Caslon Open Face for Palatino for instance). When there is no matching screen font for a printer font, the best solution is to obtain a matching screen font. In most cases a screen font that matches a printer font will give a better representation of the printer font than a substituted screen font. NOTE: Adobe Type Manager automatically produces a printer font and matching screen font for each ATM font. The Adobe Type Manager fonts supplied with Ami Pro 2.0 do not include some of the printer fonts that are built in to most PostScript printers (Avant Garde and Palatino, for example). PostScript fonts (including matching screen fonts) can be obtained in the Adobe Plus Pack from Adobe Systems. Contact Adobe Systems, Inc., 1585 Charleston Road, P.O. Box 7900, Mountain View, CA 94039-7900, 415- 961-4992, 800-833-6687 for more information about the Plus Pack. If matching screen fonts for all printer fonts being used cannot be obtained, Lotus makes available an Ami Pro utility which reduces the possible screen font choices for screen font substitution. This utility consists of the files AMIFONT.INI and AMIFONT.DLL. The files can be obtained electronically from the Lotus Development Corporation WPD bulletin board, 404-851-1371, or from library 2 in the LotusWP CompuServe forum. Download the file FNTINI.ZIP from either location. These files can be obtained on disk from the Lotus Development Corporation WPD Customer Service Department at 404-256-2272. Request the AMIFONT utility. HOW TO INSTALL THE AMIFONT UTILITY FILES 1. Exit Windows completely to the DOS prompt. 2. Copy the file AMIFONT.DLL to the directory where the Ami Pro program is located (this is usually C:\AMIPRO) by typing at the DOS prompt: COPY X:\AMIFONT.DLL Y:\PATH and press ENTER. X:\ should be the drive and path where the file AMIFONT.DLL is located (for example, if the file is located on a disk in drive A, this would be A:\). Y:\PATH should be the correct drive and complete path to the directory containing the Ami Pro program files (C:\AMIPRO, for example). 3. Copy the file AMIFONT.INI to the directory where the Windows program is installed by typing at the DOS prompt: COPY X:\AMIFONT.INI Y:\PATH and press ENTER. X:\ should be the drive and path where the file AMIFONT.INI is located (for example, if the file is located on a disk in drive A, this would be A:\). Y:\PATH should be the correct drive and complete path to the directory containing the Windows program files (C:\WINDOWS, for example). 4. Load Windows and Ami Pro. In most cases after installing these files, a reasonable screen font will be selected and no modifications need to be made to the AMIFONT.INI file. There may be special cases, however, where modifications to this file will be necessary for Ami Pro to select a specific screen font. When editing the file is necessary, use the Windows Notepad program or any ASCII file editor. The following information describes how the AMIFONT.INI file works and provides guidelines for modification. UNDERSTANDING THE AMIFONT.INI FILE The AMIFONT.INI file contains lists of fonts which Ami Pro can use to display text on the screen. The file is divided into sections, with each section representing a group of screen fonts. The AMIFONT.INI file automatically lists six sections. Five sections correspond to the font families provided with Windows: Roman, Swiss, Modern, Script, and Decorative. The sixth section represents a group for fonts not listed in any other group. In most cases, these six groups will provide Ami Pro with correct screen fonts for any printer fonts you use in a document. Ami Pro uses the information in the AMIFONT.INI file only when a font is selected that is available as a printer font but is not available as a screen font or if a matching screen font can't be accurately scaled to the specified point size for the selected view. If either situation exists, Ami Pro checks the AMIFONT.INI file to see if the printer font is listed in any group. If the printer font is listed in a group, Ami Pro chooses a screen font that is within the same group which is currently available and can be correctly scaled for the specified point size in the current view. If the printer font is not listed in any group or if no font in the group can be properly scaled, Ami Pro chooses an available screen font within the matching Windows font family group that can be accurately scaled. For example, your printer supports a Palatino font, but you do not have a matching Palatino screen font. Since Palatino is classified in the Roman font family, Ami Pro chooses one of the fonts listed in the Roman group, such as Tms Rmn, as the screen font for Palatino. Ami Pro cannot choose Caslon Open Face for Palatino because that font is not listed in the Roman group. If you are using unusual printer fonts, you may need to add a group to the AMIFONT.INI file so Ami Pro will choose a compatible screen font. For example, your printer supports a downloadable Bodoni font, but you do not have a matching Bodoni screen font. You want to make sure Ami Pro chooses Goudy as the screen font for Bodoni. In the AMIFONT.INI file, type the following lines (# should equal the next consecutive number after the last existing group number): [Group#] Font1=Bodoni Font2=Goudy Ami Pro chooses the Goudy screen font when you select Bodoni as the desired font for your text. Follow these guidelines if you need to modify the AMIFONT.INI file. NOTE: If screen fonts specified in these groups cannot be accurately scaled to the specified point size for the selected view, Ami Pro will evaluate other screen fonts within the printer font's matching Windows font family group until a better match is found. This will most often be the case when bitmapped screen fonts are used (screen font files that are not scalable and exist in certain point sizes) or if the screen font specified is too different from the printer font (bold screen font for a normal printer font, for example). 1. If you want to force Ami Pro to choose one of several screen fonts when you use a particular printer font, create a new group and list both the printer font and the desired screen fonts in that group. The order of the fonts does not matter. 2. If you want to force Ami Pro to choose only one screen font when you use a particular printer font, create a group that contains only one printer font and one screen font. 3. If you want to force Ami Pro to choose only one screen font for several printer fonts, create a new group and list the printer fonts and the desired screen font in that group. The order of the fonts does not matter. 4. Type the font names exactly as they appear in the Ami Pro Font list box, including spaces (capitalization is not important, however). 5. Do not specify the same font name in more than one group. 6. Do not skip any numbers between groups or between fonts within a group (Ami Pro will not read beyond correctly sequenced numbers). 7. Do not add unusual font names to the Windows font family groups.