FGID Section
The next figure shows an example of the FGID section in the
csdef.fnt
file.FGID section in csdef.fnt file
[FGID] ;fgid = familyname, style, weight, italic 230=Gothic, MODERN,MED,0 416=Courier,MODERN,MED,0 2304=Helvetica,SWISS,MED,0 2308=TimesNewRoman,ROMAN,MED,0
The FGID section lists each font global identifier and its corresponding attributes. The next figure describes the attributes and values for FGID.
FGID section
Attribute | Values | Shipped Default | Description |
---|---|---|---|
familyname | Any Web browser font | Times New Roman | An outline font name or an AFP type family name. |
style |
|
ROMAN | |
weight | LIGHT, MED, BOLD | MED | The degree of boldness of a typeface caused by different thicknesses of the strokes that form a graphic character. |
italic |
|
0 | A font whose characters slant to the right. |
- Note:
- familyname is the same as type family in AFP fonts and typeface name in Windows.
- SWISS is a proportionally spaced, sans serif font.
- ROMAN is a proportionally spaced, serif font.
- SCRIPT is a fixed-pitch font designed to look like handwriting.
- MODERN is a fixed-pitch, sans serif or serif font.
- DISPLAY is a decorative font.
Rules:
- Attributes must be