[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/man/xresources.texi
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/man/xresources.texi |
Date: |
Sun, 23 Apr 2006 21:52:54 +0000 |
Index: emacs/man/xresources.texi
diff -u emacs/man/xresources.texi:1.36 emacs/man/xresources.texi:1.37
--- emacs/man/xresources.texi:1.36 Mon Feb 13 10:12:43 2006
+++ emacs/man/xresources.texi Sun Apr 23 21:52:54 2006
@@ -301,12 +301,10 @@
@node Face Resources
@appendixsec X Resources for Faces
- You can also use resources to customize the appearance of particular
+ You can use resources to customize the appearance of particular
faces (@pxref{Faces}):
@table @code
address@hidden @var{face}.attributeFont
-Font for face @var{face}.
@item @var{face}.attributeForeground
Foreground color for face @var{face}.
@item @var{face}.attributeBackground
@@ -314,49 +312,45 @@
@item @var{face}.attributeUnderline
Underline flag for face @var{face}. Use @samp{on} or @samp{true} for
yes.
address@hidden @var{face}.attributeStrikeThrough
address@hidden @var{face}.attributeOverline
address@hidden @var{face}.attributeBox
address@hidden @var{face}.attributeInverse
+Likewise, for other boolean font attributes.
address@hidden @var{face}.attributeStipple
+The name of a pixmap data file to use for the stipple pattern, or
address@hidden to not use stipple for the face @var{face}.
address@hidden @var{face}.attributeBackgroundPixmap
+The background pixmap for the face @var{face}. Should be a name of a
+pixmap file or @code{false}.
address@hidden @var{face}.attributeFont
+Font name (full XFD name or valid X abbreviation) for face @var{face}.
+Instead of this, you can specify the font through separate attributes.
address@hidden table
+
+ Instead of using @code{attributeFont} to specify a font name, you can
+select a font through these separate attributes:
+
address@hidden @code
@item @var{face}.attributeFamily
Font family for face @var{face}.
address@hidden @var{face}.attributeWidth
-Relative proportional width of the font to use for face @var{face}.
-It should be one of @code{ultra-condensed}, @code{extra-condensed},
address@hidden, @code{semi-condensed}, @code{normal},
address@hidden, @code{expanded}, @code{extra-expanded}, or
address@hidden
@item @var{face}.attributeHeight
Height of the font to use for face @var{face}: either an integer
specifying the height in units of 1/address@hidden, 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.
address@hidden @var{face}.attributeWeight
-A weight to use for the face @var{face}. It must be one of
address@hidden, @code{extra-bold}, @code{bold},
address@hidden, @code{normal}, @code{semi-light}, @code{light},
address@hidden, @code{ultra-light}.
address@hidden @var{face}.attributeSlant
-The slant to use for the font of face @var{face}. It must be one of
address@hidden, @code{oblique}, @code{normal},
address@hidden, or @code{reverse-oblique}.
address@hidden @var{face}.attributeStrikeThrough
-Whether the face @var{face} should be drawn with a line striking
-through the characters.
address@hidden @var{face}.attributeOverline
-Whether the characters in the face @var{face} should be overlined.
address@hidden @var{face}.attributeBox
-Whether to draw a box around the characters in face @var{face}.
address@hidden @var{face}.attributeInverse
-Whether to display the characters in face @var{face} in inverse
-video.
address@hidden @var{face}.attributeStipple
-The name of a pixmap data file to use for the stipple pattern, or
address@hidden to not use stipple for the face @var{face}.
address@hidden @var{face}.attributeBackgroundPixmap
-The background pixmap for the face @var{face}. Should be a name of a
-pixmap file or @code{false}.
address@hidden @var{face}.attributeWidth
address@hidden @var{face}.attributeWeight
address@hidden @var{face}.attributeSlant
+Each of these resources corresponds to a like-named font attribute,
+and you write the resource value the same as the symbol you would use
+for the font attribute value.
@item @var{face}.attributeBold
-Whether to draw the characters in the face @var{face} as bold.
+Bold flag for face @var{face}---instead of @code{attributeWeight}. Use
@samp{on} or @samp{true} for
+yes.
@item @var{face}.attributeItalic
-Whether to draw the characters in the face @var{face} as italic.
+Italic flag for face @var{face}---instead of @code{attributeSlant}.
@end table
@node Lucid Resources
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/man/xresources.texi,
Richard M. Stallman <=