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

NextPrevUpTopContentsIndex

find-matching-fonts

Function
Summary

Returns a list of the font objects available for a pane.

Package

graphics-ports

Signature

find-matching-fonts pane fdesc => fonts

Arguments

pane

A CAPI pane.

fdesc

A font description.

Values

fonts

A list of fonts.

Description

The function find-matching-fonts returns a list of the font objects available for pane which match the attributes in fdesc . nil is returned if none match.

When fdesc contains the attribute :stock with value :system-font or :system-fixed-font, the lookup will always find a stock font.

find-matching-fonts behaves as if the :family, :weight, :slant and :size attributes have value :wild if they are missing from fdesc .

See also

find-best-font
list-all-font-names
make-font-description
Drawing - Graphics Ports


CAPI User Guide and Reference Manual (Unix version) - 3 Aug 2017

NextPrevUpTopContentsIndex