>> << Ndx Usr Pri Phr Dic Rel Voc !: wd Help User

# fontspec

A fontspec is several parameters that specify a font. A fontspec is used in some wd, gl2 and gl3 commands.

A fontspec is a font name, size, and and optional styles:
name size [italic] [bold] [underline] [oem] [angle]

For example: "lucida console" 15 italic

A positive size gives cell height and negative gives character height. In both cases a font defined interline spacing is used. It is recommended to use cell height (positive) as this maps more directly and accurately to physical fonts. This is particularly true for printers.

The size is in logical units. For wd commands this is generally point size. In gl2, size is in mapping mode units. In gl3, size is in pixels.

Fonts can have different character sets. The standard Windows character set is ANSI and does not include boxes. The old PC character set is OEM and does contain boxes. Fonts such as Courier New and MS Linedraw contain a single DEFAULT character set. The oem parameter selects an OEM font. The default parameter selects the DEFAULT font. If neither oem nor default is supplied, an ANSI font is selected. If there is not an exact match, you get an arbitrary font. There are differences in distributed fonts and in the way fonts are selected in different hosts.

    isij 12 default
| isij with boxes
    "ms linedraw" 12 default
| linedraw with boxes
    "lucida console" 12 oem
| console with boxes (if the font has oem)
    "courier new" 12 oem
| courier with boxes (if the font has oem)

You may have to experiment to find the best font for J boxes with your particular host, fonts, screen, and printer.

Fonts such as WINGDINGS, do not have an ANSI character set, and you need to specify default to get the default character set for the font.

    glfont 'wingdings 100 default'

The angle style gives an angle in 10ths of degrees clockwise from the baseline. For example:

    glfont 'arial 240 angle900'

>> << Ndx Usr Pri Phr Dic Rel Voc !: wd Help User