CHARSET Section

This example shows an example of the CHARSET section in the csdef.fnt file:

[CHARSET]
;charset = fgid, height, width, strikeover, underline
C?H200A0=2304,110,73,0,0
C?H200D0=2304,140,93,0,0
C?N200B0=2308,120,80,0,0
C?4200B0=416,120,144,0,0
C?D0GT15=230,80,96,0,0
C?A155A0=33207,110,73,0,0
C?A155A0=33227,110,73,0,0
C?T055D0=4407, 140,93,0,0
C?T17500=4555,100,67,0.0
C?T17560=4555,60,40,0,0
DEFAULT=2308,80,0

The CHARSET section lists each AFP font character set and its corresponding attributes. CHARSET section describes the attributes and values for CHARSET.

CHARSET section

Attribute Values Shipped Default Description
fgid IBM-defined font global identifer (FGID) or your own FGID in one of these ranges:

3840 to 4096

65260 to 65534

2308 A unique value that identifies the type family, typeface, and sometimes the point size of the character set.
height 1 to 990 80 The vertical size of the character set (minimal baseline-to-baseline value) expressed in tenths of a point. For example, a 9-point font would have a height of 90.
width 0 to 99 (currently ignored) 0 The average horizontal size of the characters in 1440th of an inch. Currently, 0 is always used because Windows determines an appropriate font width based on the font height.
strikeover

1 = YES

2 = NO

0 A font whose characters all have a line, parallel to the character baseline, placed over the middle of the character.
underline

1 = YES

2 = NO

0 A font whose characters all have a line, parallel to the character baseline, placed under the character.
 
Copyright © 2004, 2013