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

NextPrevUpTopContentsIndex

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 object, font or symbol

Values

fdesc

A font-description

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 object, 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) - 3 Aug 2017

NextPrevUpTopContentsIndex