changeset 99144:b7eb74a4d86b

* faces.el (face-font-family-alternatives): Add "CMU Typewriter Text" to the courier family. * textmodes/tex-mode.el (tex-verbatim): Don't use "monospace" which is usually not serif'd and hence rather unlike verbatim's printed output.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 26 Oct 2008 04:32:09 +0000
parents f0ad9e3cb1a4
children 9f4cc3f73286
files lisp/ChangeLog lisp/faces.el lisp/textmodes/tex-mode.el
diffstat 3 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Oct 26 04:23:08 2008 +0000
+++ b/lisp/ChangeLog	Sun Oct 26 04:32:09 2008 +0000
@@ -1,3 +1,10 @@
+2008-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* faces.el (face-font-family-alternatives): Add "CMU Typewriter Text"
+	to the courier family.
+	* textmodes/tex-mode.el (tex-verbatim): Don't use "monospace" which is
+	usually not serif'd and hence rather unlike verbatim's printed output.
+
 2008-10-25  Chong Yidong  <cyd@stupidchicken.com>
 
 	* vc-cvs.el (vc-cvs-status-extra-headers): Use full directory name
--- a/lisp/faces.el	Sun Oct 26 04:23:08 2008 +0000
+++ b/lisp/faces.el	Sun Oct 26 04:32:09 2008 +0000
@@ -70,7 +70,7 @@
 ;; which are generally available.
 (defcustom face-font-family-alternatives
   '(("Monospace" "courier" "fixed")
-    ("courier" "fixed")
+    ("courier" "CMU Typewriter Text" "fixed")
     ("Sans Serif" "helv" "helvetica" "arial" "fixed")
     ("helv" "helvetica" "arial" "fixed"))
   "*Alist of alternative font family names.
--- a/lisp/textmodes/tex-mode.el	Sun Oct 26 04:23:08 2008 +0000
+++ b/lisp/textmodes/tex-mode.el	Sun Oct 26 04:32:09 2008 +0000
@@ -725,7 +725,7 @@
 
 (defface tex-verbatim
   ;; '((t :inherit font-lock-string-face))
-  '((t :family "monospace"))
+  '((t :family "courier"))
   "Face used to highlight TeX verbatim environments."
   :group 'tex)
 ;; backward-compatibility alias