The slides I have were confusing.
AFP font changes need to be on EACH PC displaying the AFP document. If using Webi, only the Webi server. But we found Webi not ready for prime time unless you have a very high memory, very fast PC for the users.
If new fonts are needed not found on the PCs, those actual font files go in dicretory C:/WINDOWS/Fonts on each PC to display them.
Custom font codes can be embedded in the AFP. Those then are added the csdef.fnt file in OnDemand/FONT. The custom font code values are then assigned to font fgid numbers, with height and width parameters. For example:
;charset = fgid,height,width,strikeover,underline
C0EX01A0=3900,80,0,0,0
is in the top of the csdef.fnt file identifying a character set and custom font code in the [CHARSET] section.
C0EX01A0 would be the actual font code embedded in the AFP file
3900 maps to a font fgid later in the file.
The 80, is a value of 1/10th of a point for point size. So this font code specifies an 8 point font.
3900=Swis721 BlkCn BT,SWISS,MED,0
;fgid = familyname,style,weight,italic
appears farther down in the [FGID] section of csdef.fnt, mapping a font code to font information in WINDOWS/Fonts folder
note the 3900 in both. That is an fgid connection, where when C0EX01A0 is found in the AFP file, use the Swis721 BlkCn BT font.
Every new font size and style requires a CHARSET entry. Thus for our new bills, there are up to 5 or 6 point sizes with about 17 different font styles, for 44 required CHARSET entries I will require. I went through the spec documents and counted each combination of style and point size.
Custom code pages can also be used, then that invloves the cpdef.fnt file.