all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jason Rumney <jasonrumney@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: default font used
Date: Tue, 10 Jul 2012 08:30:35 -0700 (PDT)	[thread overview]
Message-ID: <6b6982ca-49a5-4cc8-b8ae-49c7b1feb434@googlegroups.com> (raw)
In-Reply-To: <mailman.4478.1341930284.855.help-gnu-emacs@gnu.org>

On Tuesday, 10 July 2012 22:24:28 UTC+8, Buchs, Kevin  wrote:

> I’m building emacs 24 from source on OpenSuse Linux and the result comes up with a default font that is not desireable (-sony...). I’ve searched the code and have not yet found what determines the default font used. Can someone direct me to that, please.

The default font is chosen inside x_default_font_parameter in xfns.c. In the current development version as of a couple of days ago, the first match from the following list is used:

#ifdef HAVE_XFT
	    /* This will find the normal Xft font.  */
 	    "monospace-10",
#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",


       reply	other threads:[~2012-07-10 15:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4478.1341930284.855.help-gnu-emacs@gnu.org>
2012-07-10 15:30 ` Jason Rumney [this message]
2012-07-10 15:43   ` default font used Drew Adams
     [not found]   ` <mailman.4483.1341935017.855.help-gnu-emacs@gnu.org>
2012-07-13  4:10     ` Javier
2012-07-10 14:24 Buchs, Kevin

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

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

  git send-email \
    --in-reply-to=6b6982ca-49a5-4cc8-b8ae-49c7b1feb434@googlegroups.com \
    --to=jasonrumney@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.