All Manuals > CAPI User Guide and Reference Manual > 22 GRAPHICS-PORTS Reference Entries

font Type

Summary

An object corresponding to a font in the native system.

Package

graphics-ports

Signature

font

Description

The type font is the type of objects are returned by find-best-font and find-matching-fonts.

font objects are used to specify fonts for drawing, either in the graphics-state of the port or in the drawing functions themselves. font objects can also be used for querying the actual attributes of the font (ascent, descent and so on) and the dimensions of character and strings.

Notes

font objects are not externalizable objects.

See also

font-description
find-best-font
find-matching-fonts
graphics-state
get-font-ascent
get-font-descent
get-font-width
get-font-height
get-font-average-width
get-char-width
get-char-ascent
get-char-descent
get-character-extent
get-string-extent
compute-char-extents
font-single-width-p
font-fixed-width-p
font-dual-width-p


CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:44