unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: F.J.Wright@qmul.ac.uk, 3319@emacsbugs.donarmstrong.com
Subject: bug#3319: 23.0.93; Default font
Date: Wed, 20 May 2009 13:14:13 +0900	[thread overview]
Message-ID: <E1M6dC1-00079e-K6@etlken> (raw)
In-Reply-To: <jwvvdnwwmcc.fsf-monnier+emacsbugreports@gnu.org> (message from Stefan Monnier on Tue, 19 May 2009 22:16:52 -0400)

In article <jwvvdnwwmcc.fsf-monnier+emacsbugreports@gnu.org>, Stefan Monnier <monnier@iro.umontreal.ca> writes:

>>> Breaking backward compatibility might be OK, but I still wonder: how
>>> come we ended up with "Sanvito Pro Subhead" from a spec of
>>> a non-existing "outline-lucida sans typewriter"?

> > When there's no font of the specified family, Emacs tries to
> > find a font without specifing family.   In that case, which
> > family is selected is just arbitrary.

> Shouldn't we fallback on the default font families
> (Sans/Courier/...) instead?

It sounds good, but the proper fallback font family is
different on platforms.  For instance, xfns.c has this code:

      char *names[]
	= {
#ifdef HAVE_XFT
	    /* This will find the normal Xft font.  */
 	    "monospace-12",
#endif
	    "-adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1",
	    "-misc-fixed-medium-r-normal-*-*-140-*-*-c-*-iso8859-1",
	    "-*-*-medium-r-normal-*-*-140-*-*-c-*-iso8859-1",
	    /* This was formerly the first thing tried, but it finds
	       too many fonts and takes too long.  */
	    "-*-*-medium-r-*-*-*-*-*-*-c-*-iso8859-1",
	    /* If those didn't work, look for something which will
	       at least work.  */
	    "-*-fixed-*-*-*-*-*-140-*-*-c-*-iso8859-1",
	    "fixed",
	    NULL };

and w32fns.c has this:

      static char *names[]
        = { "Courier New-10",
            "-*-Courier-normal-r-*-*-13-*-*-*-c-*-iso8859-1",
            "-*-Fixedsys-normal-r-*-*-12-*-*-*-c-*-iso8859-1",
            "Fixedsys",
            NULL };

---
Kenichi Handa
handa@m17n.org






  reply	other threads:[~2009-05-20  4:14 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <001801c9d71a$8bade240$a309a6c0$@J.Wright@qmul.ac.uk>
2009-05-19  1:30 ` bug#3319: 23.0.93; Default font Kenichi Handa
2009-05-19  3:30   ` Jason Rumney
2009-05-19  5:42     ` Kenichi Handa
2009-05-19 17:14       ` Francis Wright
     [not found]       ` <006601c9d8a5$563b2550$02b16ff0$@j.wright@qmul.ac.uk>
2009-05-20  0:40         ` Kenichi Handa
2009-05-20 16:57           ` Francis Wright
2009-05-19 14:33     ` Stefan Monnier
2009-05-19 17:03       ` Francis Wright
2009-05-20  0:28       ` Kenichi Handa
2009-05-20  2:16         ` Stefan Monnier
2009-05-20  4:14           ` Kenichi Handa [this message]
2009-05-20 17:02           ` Francis Wright
2009-05-25 16:34   ` Francis Wright
2009-05-17 18:08 Francis Wright

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1M6dC1-00079e-K6@etlken \
    --to=handa@m17n.org \
    --cc=3319@emacsbugs.donarmstrong.com \
    --cc=F.J.Wright@qmul.ac.uk \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).