aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2011-10-05 17:39:54 -0400
committerChong Yidong2011-10-05 17:39:54 -0400
commit969aa7346ffcfb072de63c29ab0e09110271095e (patch)
tree81416559adf616c4fdd82bd55464e365964218e4
parentc96111ea5502c92b1b0f25125bede71efbbc1b82 (diff)
downloademacs-969aa7346ffcfb072de63c29ab0e09110271095e.tar.gz
emacs-969aa7346ffcfb072de63c29ab0e09110271095e.zip
* display.texi (Low-Level Font, Face Attributes, Font Lookup): Fix xref.
Fixes: debbugs:9675
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/display.texi31
2 files changed, 19 insertions, 17 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 27c2597c6a3..bb98cd884cf 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
12011-10-05 Chong Yidong <cyd@stupidchicken.com>
2
3 * display.texi (Low-Level Font, Face Attributes, Font Lookup): Fix
4 Emacs manual xref (Bug#9675).
5
12011-10-01 Chong Yidong <cyd@stupidchicken.com> 62011-10-01 Chong Yidong <cyd@stupidchicken.com>
2 7
3 * windows.texi (Textual Scrolling): Document scroll-up-command, 8 * windows.texi (Textual Scrolling): Document scroll-up-command,
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 724c46300fd..18cb93557e9 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -2148,12 +2148,11 @@ When specifying this attribute using @code{set-face-attribute}
2148entity, or a string. Emacs converts such values to an appropriate 2148entity, or a string. Emacs converts such values to an appropriate
2149font object, and stores that font object as the actual attribute 2149font object, and stores that font object as the actual attribute
2150value. If you specify a string, the contents of the string should be 2150value. If you specify a string, the contents of the string should be
2151a font name (@pxref{Font X,, Font Specification Options, emacs, The 2151a font name (@pxref{Fonts,,, emacs, The GNU Emacs Manual}); if the
2152GNU Emacs Manual}); if the font name is an XLFD containing wildcards, 2152font name is an XLFD containing wildcards, Emacs chooses the first
2153Emacs chooses the first font matching those wildcards. Specifying 2153font matching those wildcards. Specifying this attribute also changes
2154this attribute also changes the values of the @code{:family}, 2154the values of the @code{:family}, @code{:foundry}, @code{:width},
2155@code{:foundry}, @code{:width}, @code{:height}, @code{:weight}, and 2155@code{:height}, @code{:weight}, and @code{:slant} attributes.
2156@code{:slant} attributes.
2157 2156
2158@item :inherit 2157@item :inherit
2159The name of a face from which to inherit attributes, or a list of face 2158The name of a face from which to inherit attributes, or a list of face
@@ -2854,11 +2853,11 @@ nominal heights and widths would suggest.
2854@defun x-list-fonts name &optional reference-face frame maximum width 2853@defun x-list-fonts name &optional reference-face frame maximum width
2855This function returns a list of available font names that match 2854This function returns a list of available font names that match
2856@var{name}. @var{name} should be a string containing a font name in 2855@var{name}. @var{name} should be a string containing a font name in
2857either the Fontconfig, GTK, or XLFD format (@pxref{Font X,, Font 2856either the Fontconfig, GTK, or XLFD format (@pxref{Fonts,,, emacs, The
2858Specification Options, emacs, The GNU Emacs Manual}). Within an XLFD 2857GNU Emacs Manual}). Within an XLFD string, wildcard characters may be
2859string, wildcard characters may be used: the @samp{*} character 2858used: the @samp{*} character matches any substring, and the @samp{?}
2860matches any substring, and the @samp{?} character matches any single 2859character matches any single character. Case is ignored when matching
2861character. Case is ignored when matching font names. 2860font names.
2862 2861
2863If the optional arguments @var{reference-face} and @var{frame} are 2862If the optional arguments @var{reference-face} and @var{frame} are
2864specified, the returned list includes only fonts that are the same 2863specified, the returned list includes only fonts that are the same
@@ -3108,8 +3107,7 @@ specifications are as follows:
3108@table @code 3107@table @code
3109@item :name 3108@item :name
3110The font name (a string), in either XLFD, Fontconfig, or GTK format. 3109The font name (a string), in either XLFD, Fontconfig, or GTK format.
3111@xref{Font X,, Font Specification Options, emacs, The GNU Emacs 3110@xref{Fonts,,, emacs, The GNU Emacs Manual}.
3112Manual}.
3113 3111
3114@item :family 3112@item :family
3115@itemx :foundry 3113@itemx :foundry
@@ -3226,10 +3224,9 @@ specified by @var{font}.
3226 3224
3227@defun font-xlfd-name font &optional fold-wildcards 3225@defun font-xlfd-name font &optional fold-wildcards
3228This function returns the XLFD (X Logical Font Descriptor), a string, 3226This function returns the XLFD (X Logical Font Descriptor), a string,
3229matching @var{font}. @xref{Font X,, Font Specification Options, 3227matching @var{font}. @xref{Fonts,,, emacs, The GNU Emacs Manual}, for
3230emacs, The GNU Emacs Manual}, for information about XLFDs. If the 3228information about XLFDs. If the name is too long for an XLFD (which
3231name is too long for an XLFD (which can contain at most 255 3229can contain at most 255 characters), the function returns @code{nil}.
3232characters), the function returns @code{nil}.
3233 3230
3234If the optional argument @var{fold-wildcards} is non-@code{nil}, 3231If the optional argument @var{fold-wildcards} is non-@code{nil},
3235consecutive wildcards in the XLFD are folded into one. 3232consecutive wildcards in the XLFD are folded into one.