An object used in CAPI to describe a font.
graphics-ports
font-description
The type font-description
is used for objects that contain a description of a font. The description can be partial, with only some attributes given values. font-description
objects are the normal way of specifying fonts in CAPI.
font-description
objects are created or returned by make-font-description, convert-to-font-description, font-description
, merge-font-descriptions and augment-font-description.
font-description
objects are used as the font specification for CAPI panes (see simple-pane). They can also be used directly in calls to find-best-font and find-matching-fonts.
font-description
objects do not contain native system dependent values, and are externalizable objects.font-description
cannot be used directly as an argument to draw-string or draw-character, or as the value of the graphics state parameter font in a graphics-state. These require the result of find-best-font or find-matching-fonts.
make-font-description
convert-to-font-description
merge-font-descriptions
augment-font-description
font-description-attributes
find-best-font
find-matching-fonts
3 General Properties of CAPI Panes
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:44