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
fdesc2
Values
fdesc
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 (Unix version) - 18 Feb 2025 15:34:41