Font=<facename>, <fontattr>
(e.g. Font=Lucida Console,1537) Either part can be omitted to accept the default for that parameter, in which case the comma should also be omitted. Font attribute codes consist of a sum of the following values. (There may not be a meaningful difference between some of the stroke weights – these are just hints to the font mapper.) Note: this table is from AUI...fontattr. Change there and copy here!!!
Symbol |
Value |
Description |
FS_UPRIGHT |
&h00 |
Normal upright |
FS_ITALIC |
&h01 |
Italic |
FS_UNDERLINE |
&h02 |
Underline |
FS_STRIKEOUT |
&h04 |
Strikeout |
Symbol |
Value |
Description |
FA_DONTCARE |
0 |
Do not care |
FA_THIN |
1600 |
Thin |
FA_EXTRALIGHT |
3200 |
Extra Light |
FA_LIGHT |
4800 |
Light |
FA_NORMAL |
6400 |
Normal |
FA_MEDIUM |
8000 |
Medium |
FA_SEMIBOLD |
9600 |
Semibold, demibold |
FA_BOLD |
11200 |
Bold |
FA_EXTRABOLD |
12800 |
Extrabold, ultrabold |
FA_HEAVY |
14400 |
Heavy |
Note the difference between the FA_xxx symbols used here, and the similar FW_xxx symbols used by the //SETFONT GDI printing directive; the FA_xxx symbols are shifted up 4 bits (16 times) from the FW_xxx symbols.
When associated with a real column, the font defined affects just that column. When associated with a pseudo column (i.e. with cwidth = 0) it just serves to define the font so that it can be referred to by data in a font definition column for applying specific fonts to individual rows (see cformat f in the table above). Also see Scale and Default Font.