LispWorks CAPI Reference Manual > 2 GP Reference Entries

NextPrevUpTopContentsIndex

find-best-font

Function
Summary

Returns the best font for a CAPI pane.

Package

graphics-ports

Signature

find-best-font pane fdesc => font

Arguments

pane

A graphic port.

fdesc

A font description.

Values

font

A font.

Description

The find-best-font function returns the best font for pane which matches fdesc . When there alternative fonts available the choice of best font is operating system dependent.

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

See also

find-matching-fonts
make-font-description
prompt-for-font


LispWorks CAPI Reference Manual - 21 Dec 2009

NextPrevUpTopContentsIndex