Next: , Previous: Table of Resources, Up: X Resources


D.3 X Resources for Faces

You can also use resources to customize the appearance of particular faces (see Faces):

face.attributeFont
Font for face face.
face.attributeForeground
Foreground color for face face.
face.attributeBackground
Background color for face face.
face.attributeUnderline
Underline flag for face face. Use ‘on’ or ‘true’ for yes.
face.attributeFamily
Font family for face face.
face.attributeWidth
Relative proportional width of the font to use for face face. It should be one of ultra-condensed, extra-condensed, condensed, semi-condensed, normal, semi-expanded, expanded, extra-expanded, or ultra-expanded.
face.attributeHeight
Height of the font to use for face face: either an integer specifying the height in units of 1/10pt, or a floating point number that specifies a scale factor to scale the underlying face's default font, or a function to be called with the default height which will return a new height.
face.attributeWeight
A weight to use for the face face. It must be one of ultra-bold, extra-bold, bold, semi-bold, normal, semi-light, light, extra-light, ultra-light.
face.attributeSlant
The slant to use for the font of face face. It must be one of italic, oblique, normal, reverse-italic, or reverse-oblique.
face.attributeStrikeThrough
Whether the face face should be drawn with a line striking through the characters.
face.attributeOverline
Whether the characters in the face face should be overlined.
face.attributeBox
Whether to draw a box around the characters in face face.
face.attributeInverse
Whether to display the characters in face face in inverse video.
face.attributeStipple
The name of a pixmap data file to use for the stipple pattern, or false to not use stipple for the face face.
face.attributeBackgroundPixmap
The background pixmap for the face face. Should be a name of a pixmap file or false.
face.attributeBold
Whether to draw the characters in the face face as bold.
face.attributeItalic
Whether to draw the characters in the face face as italic.