diff options
| author | Paul Eggert | 2016-05-13 13:30:33 -0700 |
|---|---|---|
| committer | Eli Zaretskii | 2016-09-23 16:55:52 +0300 |
| commit | 9135bd7af7bdf9f805b185a77fe4e6d33dec4009 (patch) | |
| tree | 3dbebfada02bbb3369d4838a82bc261e4a694bfd /doc | |
| parent | e0dd65cd444fd9e5ee6b5921936c6c829df75e50 (diff) | |
| download | emacs-9135bd7af7bdf9f805b185a77fe4e6d33dec4009.tar.gz emacs-9135bd7af7bdf9f805b185a77fe4e6d33dec4009.zip | |
Improve display of tex-verbatim and Info quoted
Problem reported by Glenn Morris (Bug#19889).
* doc/emacs/display.texi (Standard Faces):
* doc/lispref/display.texi (Basic Faces):
* etc/NEWS: Mention fixed-pitch-serif.
* lisp/faces.el (face-font-family-alternatives):
New family alias Monospace Serif.
(fixed-pitch-serif): New face, which uses the new family.
* lisp/info.el (Info-quoted):
* lisp/textmodes/tex-mode.el (tex-verbatim): Use the new face.
* test/lisp/legacy/font-parse-tests.el (font-parse-tests--data):
Add test case for Monospace Serif.
This is backport from master
(cherry picked from commit 36906806ccfc0e53f1d8c365ab0d7151288b7833)
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/display.texi | 3 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi index 56b643becf2..391e1a0ed58 100644 --- a/doc/emacs/display.texi +++ b/doc/emacs/display.texi | |||
| @@ -613,6 +613,9 @@ This face underlines text. | |||
| 613 | This face forces use of a fixed-width font. It's reasonable to | 613 | This face forces use of a fixed-width font. It's reasonable to |
| 614 | customize this face to use a different fixed-width font, if you like, | 614 | customize this face to use a different fixed-width font, if you like, |
| 615 | but you should not make it a variable-width font. | 615 | but you should not make it a variable-width font. |
| 616 | @item fixed-pitch-serif | ||
| 617 | This face is like @code{fixed-pitch}, except the font has serifs and | ||
| 618 | looks more like traditional typewriting. | ||
| 616 | @cindex variable-pitch face | 619 | @cindex variable-pitch face |
| 617 | @item variable-pitch | 620 | @item variable-pitch |
| 618 | This face forces use of a variable-width font. | 621 | This face forces use of a variable-width font. |
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 68b48e0df91..2e316f8a532 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -3027,6 +3027,7 @@ attribute on this face (@pxref{Face Attributes}). | |||
| 3027 | @itemx bold-italic | 3027 | @itemx bold-italic |
| 3028 | @itemx underline | 3028 | @itemx underline |
| 3029 | @itemx fixed-pitch | 3029 | @itemx fixed-pitch |
| 3030 | @itemx fixed-pitch-serif | ||
| 3030 | @itemx variable-pitch | 3031 | @itemx variable-pitch |
| 3031 | These have the attributes indicated by their names (e.g., @code{bold} | 3032 | These have the attributes indicated by their names (e.g., @code{bold} |
| 3032 | has a bold @code{:weight} attribute), with all other attributes | 3033 | has a bold @code{:weight} attribute), with all other attributes |