all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Štěpán Němec" <stepnem@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: How can I improve Emacs' font selection algorithm?
Date: Fri, 04 Mar 2011 10:37:26 +0100	[thread overview]
Message-ID: <87pqq7ns4p.fsf@gmail.com> (raw)

I know I can use `set-fontset-font' to hardcode fonts used for specific
character ranges, but that's often inconvenient.

Emacs obviously sometimes does a rather poor job of font selection
(speaking about GUI Emacs under X in case it matters), e.g. when
selecting a fallback font for characters missing from the
default/specified font, it selects some ridiculously ugly (and very
differently-looking) font, even though there is a much better font
available for those characters; sometimes it even doesn't find a font at
all and displays just the encoding rectangles, even though there _is_
actually an appropriate font available (which I can e.g. set manually).
That's probably a bug.

Can something be done about that? I haven't been able to find anything
in the documentation. I imagine there could at least be something like a
`fallback-font-selection-order' listing the desirable fonts that could
be consulted during font selection as a crude workaround for the
problem.

  Štěpán




             reply	other threads:[~2011-03-04  9:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-04  9:37 Štěpán Němec [this message]
     [not found] <mailman.0.1299231914.5337.help-gnu-emacs@gnu.org>
2011-03-04 16:56 ` How can I improve Emacs' font selection algorithm? despen

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=87pqq7ns4p.fsf@gmail.com \
    --to=stepnem@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.