all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How can I improve Emacs' font selection algorithm?
@ 2011-03-04  9:37 Štěpán Němec
  0 siblings, 0 replies; 2+ messages in thread
From: Štěpán Němec @ 2011-03-04  9:37 UTC (permalink / raw)
  To: help-gnu-emacs

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How can I improve Emacs' font selection algorithm?
       [not found] <mailman.0.1299231914.5337.help-gnu-emacs@gnu.org>
@ 2011-03-04 16:56 ` despen
  0 siblings, 0 replies; 2+ messages in thread
From: despen @ 2011-03-04 16:56 UTC (permalink / raw)
  To: help-gnu-emacs

Štěpán Němec <stepnem@gmail.com> writes:

> 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.

Maybe you should provide examples.
I'm using 23.2.1 on Linux under X.

I picked Options, Set Default Font,
Picked Deja Vu Sans Mono/Bold/12 point and have a reasonably
nice font.

It's important to be specific when reporting problems.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-04 16:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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
2011-03-04  9:37 Štěpán Němec

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.