diff options
author | Richard M. Stallman <rms@gnu.org> | 2003-07-22 15:25:22 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2003-07-22 15:25:22 +0000 |
commit | 6bc3abcbba3edc8fb83428252ecbb20f7f0926dc (patch) | |
tree | 5a036d81a169c4805225beec1f835a7a1085fadb /lispref/display.texi | |
parent | 5a5d2aecd8266bdc9666a893f628c374ca0de6ea (diff) | |
download | emacs-6bc3abcbba3edc8fb83428252ecbb20f7f0926dc.tar.gz |
(Width): Use \s syntax in example.
(Font Selection): Add face-font-rescale-alist.
Diffstat (limited to 'lispref/display.texi')
-rw-r--r-- | lispref/display.texi | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/lispref/display.texi b/lispref/display.texi index 1fb2157fcf2..d7ca6b65cbe 100644 --- a/lispref/display.texi +++ b/lispref/display.texi @@ -1166,7 +1166,7 @@ the beginning of the result if one multi-column character in @example (truncate-string-to-width "\tab\t" 12 4) @result{} "ab" -(truncate-string-to-width "\tab\t" 12 4 ?\ ) +(truncate-string-to-width "\tab\t" 12 4 ?\s) @result{} " ab " @end example @end defun @@ -2007,6 +2007,21 @@ If @var{unload-p} is non-@code{nil}, that means to unload all unused fonts as well. @end defun +@defvar face-font-rescale-alist +This variable specifies scaling for certain faces. Its value should +be a list of elements of the form + +@example +(@var{fontname-regexp} . @var{scale-factor}) +@end example + +If @var{fontname-regexp} matches the font name that is about to be +used, this says to choose a larger similar font according to the +factor @var{scale-factor}. You would use this feature to normalize +the font size if certain fonts are bigger or smaller than their +nominal heights and widths would suggest. +@end defvar + @node Face Functions @subsection Functions for Working with Faces |