* default default face
@ 2008-06-23 3:28 Miles Bader
2008-06-23 3:51 ` Chong Yidong
0 siblings, 1 reply; 6+ messages in thread
From: Miles Bader @ 2008-06-23 3:28 UTC (permalink / raw)
To: emacs-devel
Ok, now the `fixed' and `variable-pitch' faces look beautiful by
default -- but what about the default `default' face? Currently it
still seems to be the old ugly (and non-AA) courier face.
It seems like it should be "Monospace" by default too, just like the
`fixed' face.
-Miles
--
Cannon, n. An instrument employed in the rectification of national boundaries.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: default default face
2008-06-23 3:28 default default face Miles Bader
@ 2008-06-23 3:51 ` Chong Yidong
2008-06-23 17:23 ` Chong Yidong
0 siblings, 1 reply; 6+ messages in thread
From: Chong Yidong @ 2008-06-23 3:51 UTC (permalink / raw)
To: Miles Bader; +Cc: emacs-devel
Miles Bader <miles.bader@necel.com> writes:
> Ok, now the `fixed' and `variable-pitch' faces look beautiful by
> default -- but what about the default `default' face? Currently it
> still seems to be the old ugly (and non-AA) courier face.
>
> It seems like it should be "Monospace" by default too, just like the
> `fixed' face.
Good point. Could someone please do this?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: default default face
2008-06-23 3:51 ` Chong Yidong
@ 2008-06-23 17:23 ` Chong Yidong
2008-06-23 18:32 ` Stefan Monnier
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Chong Yidong @ 2008-06-23 17:23 UTC (permalink / raw)
To: Kenichi Handa; +Cc: emacs-devel, Miles Bader
> Miles Bader <miles.bader@necel.com> writes:
>
>> Ok, now the `fixed' and `variable-pitch' faces look beautiful by
>> default -- but what about the default `default' face? Currently it
>> still seems to be the old ugly (and non-AA) courier face.
>>
>> 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
--- trunk/src/xrdb.c 2008-06-23 13:21:57.000000000 -0400
***************
*** 527,536 ****
XrmDatabase db;
char line[256];
! char *helv = "-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1";
#ifdef USE_MOTIF
! char *courier = "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1";
extern Lisp_Object Vdouble_click_time;
#endif
--- 527,536 ----
XrmDatabase db;
char line[256];
! char *helv = "Sans";
#ifdef USE_MOTIF
! char *courier = "Monospace";
extern Lisp_Object Vdouble_click_time;
#endif
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: default default face
2008-06-23 17:23 ` Chong Yidong
@ 2008-06-23 18:32 ` Stefan Monnier
2008-06-23 21:19 ` Chip Coldwell
2008-06-24 2:24 ` Miles Bader
2 siblings, 0 replies; 6+ messages in thread
From: Stefan Monnier @ 2008-06-23 18:32 UTC (permalink / raw)
To: Chong Yidong; +Cc: Miles Bader, emacs-devel, Kenichi Handa
>>> Ok, now the `fixed' and `variable-pitch' faces look beautiful by
>>> default -- but what about the default `default' face? Currently it
>>> still seems to be the old ugly (and non-AA) courier face.
>>>
>>> It seems like it should be "Monospace" by default too, just like the
>>> `fixed' face.
> WDYT about making changing the defaults as follows:
Does it still work with the Lucid toolkit?
Stefan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: default default face
2008-06-23 17:23 ` Chong Yidong
2008-06-23 18:32 ` Stefan Monnier
@ 2008-06-23 21:19 ` Chip Coldwell
2008-06-24 2:24 ` Miles Bader
2 siblings, 0 replies; 6+ messages in thread
From: Chip Coldwell @ 2008-06-23 21:19 UTC (permalink / raw)
To: Chong Yidong; +Cc: Miles Bader, emacs-devel, Kenichi Handa
On Mon, 23 Jun 2008, Chong Yidong wrote:
> > Miles Bader <miles.bader@necel.com> writes:
> >
> >> Ok, now the `fixed' and `variable-pitch' faces look beautiful by
> >> default -- but what about the default `default' face? Currently it
> >> still seems to be the old ugly (and non-AA) courier face.
> >>
> >> 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
> --- trunk/src/xrdb.c 2008-06-23 13:21:57.000000000 -0400
> ***************
> *** 527,536 ****
> XrmDatabase db;
> char line[256];
>
> ! char *helv = "-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1";
>
> #ifdef USE_MOTIF
> ! char *courier = "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1";
> extern Lisp_Object Vdouble_click_time;
> #endif
>
> --- 527,536 ----
> XrmDatabase db;
> char line[256];
>
> ! char *helv = "Sans";
>
> #ifdef USE_MOTIF
> ! char *courier = "Monospace";
> extern Lisp_Object Vdouble_click_time;
> #endif
You would also need to fix doc/emacs/cmdargs.texi, which contains
"The default font used by Emacs (under X) is:
@smallexample
-adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1
@end smallexample"
Chip
--
Charles M. "Chip" Coldwell
Senior Software Engineer
Red Hat, Inc
978-392-2426
GPG ID: 852E052F
GPG FPR: 77E5 2B51 4907 F08A 7E92 DE80 AFA9 9A8F 852E 052F
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: default default face
2008-06-23 17:23 ` Chong Yidong
2008-06-23 18:32 ` Stefan Monnier
2008-06-23 21:19 ` Chip Coldwell
@ 2008-06-24 2:24 ` Miles Bader
2 siblings, 0 replies; 6+ messages in thread
From: Miles Bader @ 2008-06-24 2:24 UTC (permalink / raw)
To: Chong Yidong; +Cc: emacs-devel, Kenichi Handa
Chong Yidong <cyd@stupidchicken.com> 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.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-06-24 2:24 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-23 3:28 default default face Miles Bader
2008-06-23 3:51 ` Chong Yidong
2008-06-23 17:23 ` Chong Yidong
2008-06-23 18:32 ` Stefan Monnier
2008-06-23 21:19 ` Chip Coldwell
2008-06-24 2:24 ` Miles Bader
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).