Next: , Previous: , Up: Easy Customization   [Contents][Index]


27.2.2.3 Customizing Faces

In addition to user options, some customization groups also include faces. When you show the contents of a group, both the user options and the faces in the group appear in the customization buffer. Here is an example of how a face looks:

Custom Changed Face: (sample)
   [State]: this face is unchanged from its standard setting.
Face used when the customize item has been changed.
Parent groups: [Custom Magic Faces]
Attributes: [ ] Bold: [Toggle]  off (nil)
            [ ] Italic: [Toggle]  off (nil)
            [ ] Underline: [Toggle]  off (nil)
            [ ] Foreground: white       (sample)
            [ ] Background: blue        (sample)
            [ ] Inverse: [Toggle]  off (nil)
            [ ] Stipple:
            [ ] Font Family:
            [ ] Size:
            [ ] Strikethru: off

Each face attribute has its own line. The ‘[x]’ field before the attribute name indicates whether the attribute is enabled; ‘X’ means that it is. You can enable or disable the attribute by invoking that field. When the attribute is enabled, you can change the attribute value in the usual ways.

See Faces, for description of how face-frob-from-locale-first variable affects changing ‘Bold’ and ‘Italic’ attributes.

Setting, saving and resetting a face work like the same operations for options (see Changing an Option).

A face can specify different appearances for different types of display. For example, a face can make text red on a color display, but use a bold font on a monochrome display. To specify multiple appearances for a face, select ‘Show Display Types’ in the menu you get from invoking ‘[State]’.