emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/doc/lispref display.texi


From: Chong Yidong
Subject: [Emacs-diffs] emacs/doc/lispref display.texi
Date: Mon, 19 Jan 2009 15:29:18 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      09/01/19 15:29:18

Modified files:
        doc/lispref    : display.texi 

Log message:
        (Font Lookup): Document WIDTH argument of x-list-fonts.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/doc/lispref/display.texi?cvsroot=emacs&r1=1.36&r2=1.37

Patches:
Index: display.texi
===================================================================
RCS file: /sources/emacs/emacs/doc/lispref/display.texi,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- display.texi        12 Jan 2009 10:22:35 -0000      1.36
+++ display.texi        19 Jan 2009 15:29:18 -0000      1.37
@@ -2725,7 +2725,7 @@
 @node Font Lookup
 @subsection Looking Up Fonts
 
address@hidden x-list-fonts name &optional reference-face frame maximum
address@hidden x-list-fonts name &optional reference-face frame maximum width
 This function returns a list of available font names that match
 @var{name}.  @var{name} should be a string containing a font name in
 either the Fontconfig, GTK, or XLFD format (@pxref{Font X,, Font
@@ -2744,6 +2744,11 @@
 after the first @var{maximum} matching fonts.  Specifying a small
 value for @var{maximum} can make this function much faster, in cases
 where many fonts match the pattern.
+
+The optional argument @var{width} specifies a desired font width.  If
+it is address@hidden, the function only returns those fonts whose
+characters are (on average) @var{width} times as wide as
address@hidden
 @end defun
 
 @defun x-family-fonts &optional family frame




reply via email to

[Prev in Thread] Current Thread [Next in Thread]