[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: default default face
From: |
Miles Bader |
Subject: |
Re: default default face |
Date: |
Tue, 24 Jun 2008 11:24:28 +0900 |
Chong Yidong <address@hidden> writes:
>>> It seems like it should be "Monospace" by default too, just like the
>>> `fixed' face.
>
> WDYT about making changing the defaults as follows:
>
> --- trunk/src/xrdb.c.~1.65.~ 2008-06-02 12:27:57.000000000 -0400
..
> - char *helv = "-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1";
> + char *helv = "Sans";
>
> #ifdef USE_MOTIF
> - char *courier = "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1";
> + char *courier = "Monospace";
> extern Lisp_Object Vdouble_click_time;
> #endif
Is that enough? A grep for "courier" finds the following:
./src/widget.c:#define DEFAULT_FACE_FONT
"-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*"
./src/xfns.c: = { "-adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1",
./src/xrdb.c: char *courier =
"-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1";
./lisp/org/org-exp.el: font-family: courier, monospace;
./lisp/play/gamegrid.el:(defvar gamegrid-font
"-*-courier-medium-r-*-*-*-140-100-75-*-*-iso8859-*"
./lisp/faces.el: '(("Monospace" "courier" "fixed")
./lisp/faces.el: ("courier" "fixed")
./lisp/textmodes/tex-mode.el: '((t :family "courier"))
[I removed a bunch of false hits, e.g. the ps-print stuff, and the
hardwired font menus in mouse.el]
Also, isn't the canonical fontconfig name "Sans-Serif"?
Thanks,
-Miles
--
Philosophy, n. A route of many roads leading from nowhere to nothing.