all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: help-gnu-emacs@gnu.org
Subject: Ordered font preferences
Date: Fri, 04 Oct 2013 15:39:39 +0200	[thread overview]
Message-ID: <87pprlp338.fsf@gmx.us> (raw)

Hi, 

When I insert a unicode character that my main font doesn't feature
Emacs uses another font to display it.  However, I'm not happy with
the "randomness" of the choice of the font, as it often messes up the
height of the line, uses too small symbols, etc.

Thus, I would like Emacs to always prefer DejaVu as a fallback font
(i.e. the second choice after my system font).

I would prefer /not/ to specify any unicode ranges (e.g. 'symbol) or
anything but just specify

  ("most preferred font" "second most preferred font" ...).

or, alternatively, "ban" some fonts from being used.

So

   (set-fontset-font "fontset-default"  'symbol (font-spec :family "DejaVu Sans Mono")) 

is too "strong" here as it overwrites some glyphs from my main font.
I would rather not add each symbol manually. . .

I think I might be able to fontset, but I'm not sure if it will do as
desired.

Thanks,
Rasmus

-- 
A page of history is worth a volume of logic




             reply	other threads:[~2013-10-04 13:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-04 13:39 Rasmus [this message]
2013-10-04 15:39 ` Ordered font preferences Yuri Khan
2013-10-04 15:48   ` Rasmus

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=87pprlp338.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --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.