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

merge-font-descriptions Function

Summary

Returns a font description containing the attributes of two specified font descriptions.

Package

graphics-ports

Signature

merge-font-descriptions fdesc1 fdesc2 => fdesc

Arguments
fdesc1
A font description.
fdesc2
A font description.
Values
fdesc
A font description.
Description

The function merge-font-descriptions returns a font description containing all the attributes of fdesc1 and fdesc2. If an attribute appears in both fdesc1 and fdesc2, the value in fdesc1 is used. The attribute :stock is handled specially: it is omitted from fdesc, unless it is the only attribute in fdesc1 and fdesc2.

The contents of fdesc1 and fdesc2 are not modified.

See also

make-font-description
13 Drawing - Graphics Ports


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