diff options
| author | Chong Yidong | 2011-10-05 17:39:54 -0400 |
|---|---|---|
| committer | Chong Yidong | 2011-10-05 17:39:54 -0400 |
| commit | 969aa7346ffcfb072de63c29ab0e09110271095e (patch) | |
| tree | 81416559adf616c4fdd82bd55464e365964218e4 | |
| parent | c96111ea5502c92b1b0f25125bede71efbbc1b82 (diff) | |
| download | emacs-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/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 31 |
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 @@ | |||
| 1 | 2011-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 | |||
| 1 | 2011-10-01 Chong Yidong <cyd@stupidchicken.com> | 6 | 2011-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} | |||
| 2148 | entity, or a string. Emacs converts such values to an appropriate | 2148 | entity, or a string. Emacs converts such values to an appropriate |
| 2149 | font object, and stores that font object as the actual attribute | 2149 | font object, and stores that font object as the actual attribute |
| 2150 | value. If you specify a string, the contents of the string should be | 2150 | value. If you specify a string, the contents of the string should be |
| 2151 | a font name (@pxref{Font X,, Font Specification Options, emacs, The | 2151 | a font name (@pxref{Fonts,,, emacs, The GNU Emacs Manual}); if the |
| 2152 | GNU Emacs Manual}); if the font name is an XLFD containing wildcards, | 2152 | font name is an XLFD containing wildcards, Emacs chooses the first |
| 2153 | Emacs chooses the first font matching those wildcards. Specifying | 2153 | font matching those wildcards. Specifying this attribute also changes |
| 2154 | this attribute also changes the values of the @code{:family}, | 2154 | the 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 |
| 2159 | The name of a face from which to inherit attributes, or a list of face | 2158 | The 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 |
| 2855 | This function returns a list of available font names that match | 2854 | This 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 |
| 2857 | either the Fontconfig, GTK, or XLFD format (@pxref{Font X,, Font | 2856 | either the Fontconfig, GTK, or XLFD format (@pxref{Fonts,,, emacs, The |
| 2858 | Specification Options, emacs, The GNU Emacs Manual}). Within an XLFD | 2857 | GNU Emacs Manual}). Within an XLFD string, wildcard characters may be |
| 2859 | string, wildcard characters may be used: the @samp{*} character | 2858 | used: the @samp{*} character matches any substring, and the @samp{?} |
| 2860 | matches any substring, and the @samp{?} character matches any single | 2859 | character matches any single character. Case is ignored when matching |
| 2861 | character. Case is ignored when matching font names. | 2860 | font names. |
| 2862 | 2861 | ||
| 2863 | If the optional arguments @var{reference-face} and @var{frame} are | 2862 | If the optional arguments @var{reference-face} and @var{frame} are |
| 2864 | specified, the returned list includes only fonts that are the same | 2863 | specified, 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 |
| 3110 | The font name (a string), in either XLFD, Fontconfig, or GTK format. | 3109 | The 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}. |
| 3112 | Manual}. | ||
| 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 |
| 3228 | This function returns the XLFD (X Logical Font Descriptor), a string, | 3226 | This function returns the XLFD (X Logical Font Descriptor), a string, |
| 3229 | matching @var{font}. @xref{Font X,, Font Specification Options, | 3227 | matching @var{font}. @xref{Fonts,,, emacs, The GNU Emacs Manual}, for |
| 3230 | emacs, The GNU Emacs Manual}, for information about XLFDs. If the | 3228 | information about XLFDs. If the name is too long for an XLFD (which |
| 3231 | name is too long for an XLFD (which can contain at most 255 | 3229 | can contain at most 255 characters), the function returns @code{nil}. |
| 3232 | characters), the function returns @code{nil}. | ||
| 3233 | 3230 | ||
| 3234 | If the optional argument @var{fold-wildcards} is non-@code{nil}, | 3231 | If the optional argument @var{fold-wildcards} is non-@code{nil}, |
| 3235 | consecutive wildcards in the XLFD are folded into one. | 3232 | consecutive wildcards in the XLFD are folded into one. |