unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Oleksandr Gavenko <gavenkoa@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Font selection algorithm / how do fonts work / what do you suggest for mono font?
Date: Sun, 25 Sep 2016 22:04:14 +0300	[thread overview]
Message-ID: <878tuf7qdt.fsf@gavenkoa.example.com> (raw)
In-Reply-To: 837fa0at9x.fsf@gnu.org

On 2016-09-25, Eli Zaretskii wrote:

> What version of Emacs do you have installed?  I think Emacs 25 should
> do a better job by default, so try that first.

I am at latest available for Debian - 24.5.1

================================================================

From https://www.gnu.org/software/emacs/news/NEWS.25.1

  ** New functions return extended information about fonts and faces.

  ...

  *** Frames now do not necessarily preserve the number of columns or lines
  they display when setting default font, menu bar, fringe width, or
  scroll bars.  In particular, maximized and fullscreen frames are
  conceptually never resized if such settings change.  For fullheight and
  ...

I don't see much changes in font selection algorithm.

Actually I have a problem, as I wrote ``terminus`` font missed some glyphs and
I expect that:

  (set-fontset-font nil nil "-misc-fixed-*-*-*--13-*-*-*-*-*-*-*")

was as fallback. But it has no effect. Fix with range resolve issue:

  ;; MODIFIER LETTER is not present in terminus, this includes ˌːˈ characters.
  (set-fontset-font nil '(#x02C0 . #x02FF) "-misc-fixed-*-*-*--13-*-*-*-*-*-*-*")

Do I need file bug or I am wrong with (set-fontset-font nil nil ...)?

-- 
http://defun.work/




  reply	other threads:[~2016-09-25 19:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-25 15:00 Font selection algorithm / how do fonts work / what do you suggest for mono font? Oleksandr Gavenko
2016-09-25 15:33 ` Eli Zaretskii
2016-09-25 19:04   ` Oleksandr Gavenko [this message]
2016-09-26  2:36     ` Eli Zaretskii
2016-09-26 21:07       ` Oleksandr Gavenko
2016-09-27 14:52         ` Eli Zaretskii
2016-09-25 16:13 ` Grant Rettke
2016-09-25 16:25   ` Eli Zaretskii
2016-09-25 19:00 ` Yuri Khan

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=878tuf7qdt.fsf@gavenkoa.example.com \
    --to=gavenkoa@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.
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).