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

convert-to-font-description Function

Summary

Converts a font-spec to a font description.

Package

graphics-ports

Signature

convert-to-font-description port font-spec => fdesc

Arguments
port
A graphics port.
font-spec
A font-description, font or symbol.
Values
fdesc
Description

The function convert-to-font-description converts font-spec to a font description object fdesc for the graphics port port. If font-spec is a font, then its description is returned. If font-spec is a font-description, then it is returned. If font-spec is a symbol naming a font alias, then convert-to-font-description converts this alias to a font and returns its font-description. Other platform-specific values of font-spec are also accepted.

See also

font-description
make-font-description


CAPI User Guide and Reference Manual (Unix version) - 18 Feb 2025 15:34:41