From: Chong Yidong Date: Tue, 12 Jul 2011 22:09:28 +0000 (-0400) Subject: Minor xref additions to Lisp manual. X-Git-Tag: emacs-pretest-24.0.90~104^2~339 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b7527639316b53c6d66f6fe80d6865526566aef2;p=emacs.git Minor xref additions to Lisp manual. * doc/lispref/display.texi (Face Attributes, Font Selection): Add references to the Fonts node in the Emacs manual. Fixes: debbugs:4178 --- diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 5b0711d2546..1d1730e078d 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,8 @@ +2011-07-12 Chong Yidong + + * display.texi (Face Attributes, Font Selection): Add references + to the Fonts node in the Emacs manual (Bug#4178). + 2011-07-12 Chong Yidong * display.texi (Window Systems): `window-system' is diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 7e966278383..10119e54670 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi @@ -1800,9 +1800,9 @@ height. @cindex faces A @dfn{face} is a collection of graphical attributes for displaying -text: font family, foreground color, background color, optional -underlining, and so on. Faces control how buffer text is displayed, -and how some parts of the frame, such as the mode-line, are displayed. +text: font, foreground color, background color, optional underlining, +and so on. Faces control how buffer text is displayed, and how some +parts of the frame, such as the mode-line, are displayed. @xref{Standard Faces,,, emacs, The GNU Emacs Manual}, for the list of faces Emacs normally comes with. @@ -2001,16 +2001,17 @@ attribute is ignored. @table @code @item :family -Font family name or fontset name (a string). If you specify a font -family name, the wild-card characters @samp{*} and @samp{?} are -allowed. The function @code{font-family-list}, described below, -returns a list of available family names. @xref{Fontsets}, for -information about fontsets. +Font family or fontset (a string). @xref{Fonts,,, emacs, The GNU +Emacs Manual}. If you specify a font family name, the wild-card +characters @samp{*} and @samp{?} are allowed. The function +@code{font-family-list}, described below, returns a list of available +family names. @xref{Fontsets}, for information about fontsets. @item :foundry -The name of the @dfn{font foundry} in which the font family specified -by the @code{:family} attribute is located (a string). The wild-card -characters @samp{*} and @samp{?} are allowed. +The name of the @dfn{font foundry} for the font family specified by +the @code{:family} attribute (a string). The wild-card characters +@samp{*} and @samp{?} are allowed. @xref{Fonts,,, emacs, The GNU +Emacs Manual}. @item :width Relative proportionate character width, also known as the character @@ -2684,14 +2685,15 @@ usually assign faces to around 400 to 600 characters at each call. Before Emacs can draw a character on a particular display, it must select a @dfn{font} for that character@footnote{In this context, the term @dfn{font} has nothing to do with Font Lock (@pxref{Font Lock -Mode}).}. Normally, Emacs automatically chooses a font based on the -faces assigned to that character---specifically, the face attributes -@code{:family}, @code{:weight}, @code{:slant}, and @code{:width} -(@pxref{Face Attributes}). The choice of font also depends on the -character to be displayed; some fonts can only display a limited set -of characters. If no available font exactly fits the requirements, -Emacs looks for the @dfn{closest matching font}. The variables in -this section control how Emacs makes this selection. +Mode}).}. @xref{Fonts,,, emacs, The GNU Emacs Manual}. Normally, +Emacs automatically chooses a font based on the faces assigned to that +character---specifically, the face attributes @code{:family}, +@code{:weight}, @code{:slant}, and @code{:width} (@pxref{Face +Attributes}). The choice of font also depends on the character to be +displayed; some fonts can only display a limited set of characters. +If no available font exactly fits the requirements, Emacs looks for +the @dfn{closest matching font}. The variables in this section +control how Emacs makes this selection. @defopt face-font-family-alternatives If a given family is specified but does not exist, this variable