[fonts]

[fonts] FontFile,"Description","AspectRatio"

The [fonts] section specifies the files and information needed to install the fonts required to support a display or printer driver.

Parameters

FontFile

Specifies the MS-DOS filename of the font file.

Description

Specifies an ASCII string describing the font. This parameter must be enclosed in double quotation marks (").

AspectRatio

Specifies the aspect ratio (relative dimensions) of the device for which the font was designed. This parameter must be enclosed in double quotation marks ("). This parameter can have the form:

AspectXY,LogPixelsX,LogPixelsY CONTINUOUSSCALING

The parameters AspectXY, LogPixelsX, and LogPixelsY are decimal values that match the values of the dpAspectXY, dpLogPixelsX, and dpLogPixelsY members in the GDIINFO structure for the corresponding device driver.

The CONTINUOUSSCALING keyword is used for vector fonts.

Example

This example shows the font sections that support a display driver:

[fonts]

1:SSERIFB.FON, "MS Sans Serif 8,10,12,14,18,24 (ZGA res)", "133,96,72"

1:COURB.FON, "Courier 10,12,15 (ZGA res)", "133,96,72"

1:SERIFB.FON, "MS Serif 8,10,12,14,18,24 (ZGA res)", "133,96,72"

1:SYMBOLB.FON, "Symbol 8,10,12,14,18,24 (ZGA res)", "133,96,72"

1:ROMAN.FON, "Roman (All res)", "CONTINUOUSSCALING"

1:SCRIPT.FON, "Script (All res)", "CONTINUOUSSCALING"

1:MODERN.FON, "Modern (All res)", "CONTINUOUSSCALING"

See Also

[disks], [display], [fixedfonts], [io.device], [oemfonts]