The font-installation directory file, FINSTALL.DIR, describes the contents of the distribution disks for a font package. The Printer Font Installer uses this information to locate and install the files associated with screen and downloadable fonts.
The FINSTALL.DIR file typically consists of one or more entries that define
logical disk names, font families, and cartridges. The file can also contain
comments.
The DRIVE statement defines the logical disk names used in other entries in the file. DRIVE statements must appear before any entries that use the associated disk names. It is highly recommended that a logical drive be defined for each floppy disk in the distribution package, and that all files referenced be preceded by a logical drive ID.
The FAMILY statement defines the screen fonts that correspond to downloadable fonts, and the CARTRIDGE statement defines the screen fonts that correspond to a given cartridge. Any number of these statements can be given in the file, and each statement can specify any number of screen fonts, downloadable fonts, and cartridges.
The FINSTALL.DIR file should be placed on the first disk in the distribution set, or on a disk that is clearly marked. If the installer does not find the file on the first disk it searches, it will assume that no such file exists use a default procedure for installing fonts.
The following example illustrates the format of a FINSTALL.DIR file:
/* Acme Corporation's font package.
*
* This package consists of two floppy disks: One
* containing the Acme Ace soft font set and the other
* containing the Acme Sparrow soft font set.
*/
/* Logical drives
*/
DRIVE ACE1: = ACESET1.LBL, "Ace set (disk 1 of 2)"
DRIVE SPARROW1: = SPRWSET1.LBL, "Sparrow set (disk 2 of 2)"
/* Ace set */
FAMILY "Ace" {
/* Screen fonts */
1:1 = "Acme Ace 1:1", ACE1:ACE11.FON
4:3 = "Acme Ace 4:3", ACE1:ACE43.FON
/* Printer fonts */
"Ace 36pt" = P,ACE1:ACE36RPN.USP,ACE1:ACE36RPP.PFM
"Ace 36pt bold" = P,ACE1:ACE36BPN.USP,ACE1:ACE36RPP.PFM
}
/* Sparrow set */
FAMILY "Sparrow" {
/* Screen fonts */
1:1 = "Acme Sparrow 1:1", SPARROW1:SPAROW11.FON
4:3 = "Acme Sparrow 4:3", SPARROW1:SPAROW43.FON
/* Printer fonts */
"Sparrow 36pt" = P,SPARROW1:SPR36RPN.USP,SPARROW1:SPR36RPP.PFM
"Sparrow 36pt bold" = P,SPARROW1:SPR36BPN.USP,SPARROW1:SPR36RPP.PFM
}
For more information about the DRIVE, FAMILY, and CARTRIDGE statements, see the Section 5.7, “Directory File Reference,” later in this chapter.