The attributes of faces are also per-frame. They can be specified as:
Emacs.FACE_NAME.parameter: value
or
Emacs*FRAME_NAME.FACE_NAME.parameter: value
Faces accept the following resources:
attributeFont (class AttributeFont): font-nameattributeForeground (class AttributeForeground): color-nameattributeBackground (class AttributeBackground): color-nameattributeBackgroundPixmap (class AttributeBackgroundPixmap): file-nameattributeUnderline (class AttributeUnderline): booleanAll text is displayed in some face, defaulting to the face named
default. To set the font of normal text, use
Emacs*default.attributeFont. To set it in the frame named
fred, use Emacs*fred.default.attributeFont.
These are the names of the predefined faces:
defaultbolditalicbold-italicmodelinehighlightleft-marginright-marginzmacs-regionisearchinfo-nodebold-italic.
info-xrefbold. (Note that, when the mouse passes over a
cross-reference, the cross-reference's face is determined from a
combination of the info-xref and highlight faces.)
Other packages might define their own faces; to see a list of all faces,
use any of the interactive face-manipulation commands such as
set-face-font and type ‘?’ when you are prompted for the
name of a face.
If the bold, italic, and bold-italic faces are not
specified in the resource database, then SXEmacs attempts to derive them
from the font of the default face. It can only succeed at this if you
have specified the default font using the XLFD (X Logical Font
Description) format, which looks like
*-courier-medium-r-*-*-*-120-*-*-*-*-*-*
If you use any of the other, less strict font name formats, some of which look like
lucidasanstypewriter-12
fixed
9x13
then SXEmacs won't be able to guess the names of the bold and italic versions. All X fonts can be referred to via XLFD-style names, so you should use those forms. See the man pages for ‘X(1)’, ‘xlsfonts(1)’, and ‘xfontsel(1)’.