all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>, emacs-devel@gnu.org
Subject: Re: When and how to register various font backends
Date: Fri, 14 Jun 2019 11:14:17 +0200	[thread overview]
Message-ID: <m2h88s1qc6.fsf@gmail.com> (raw)
In-Reply-To: <83tvd1p4jm.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 07 Jun 2019 22:40:45 +0300")

>>>>> On Fri, 07 Jun 2019 22:40:45 +0300, Eli Zaretskii <eliz@gnu.org> said:

    Eli> The question is how to implement this preference.  In the code that is
    Eli> currently on master, you will see one way of implementing it in
    Eli> w32fns.c, where the Windows code creates GUI frames (look in
    Eli> x-create-frame).  Basically, after determining whether Uniscribe was
    Eli> explicitly requested, this implementation registers or doesn't
    Eli> register Uniscribe for each new frame.  This means the backends to be
    Eli> available to a frame must be specified at frame creation time, or be
    Eli> known by that time.

    Eli> Yamamoto-san suggested a slightly different way of implementing the
    Eli> same idea; I will let him explain his proposal in more detail.

    Eli> Each implementation produces a slightly different behavior.  Since I
    Eli> believe we should have the same behavior on all platforms, I would
    Eli> like people to express their opinions on the two implementation, so
    Eli> that we could eventually decide with which one to go, and implement it
    Eli> for all platforms.

I haven't seen the other proposal, but this strikes me as overly
conservative, so Iʼm going to propose the radical variant.

Currently under X11 the font backends end up as

(xft xfthb x)

Reordering that to put xfthb first is a matter of reordering the
register_font_driver calls in Fx_create_frame

Since xfthb is strictly better than xft, as far as I can tell, and we
want people to actually use it, we should just prefer it for emacs-27,
and remove the xft and x backends in emacs-28. default-frame-alist and
similar will still be available for people who absolutely want to turn
it off (and as evidenced by bug#36171, HarfBuzz should be preferred by
default).

Robert



  reply	other threads:[~2019-06-14  9:14 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-07 19:40 When and how to register various font backends Eli Zaretskii
2019-06-14  9:14 ` Robert Pluim [this message]
2019-06-14 12:19   ` Eli Zaretskii
2019-06-14 13:16     ` Robert Pluim
2019-06-14 14:47       ` Eli Zaretskii
2019-06-15  9:50         ` Eli Zaretskii
2019-06-17  3:03           ` Michael Welsh Duggan
2019-06-17  9:41           ` Robert Pluim
2019-06-17 16:01             ` Eli Zaretskii
2019-06-18  1:29               ` YAMAMOTO Mitsuharu
2019-06-18 17:26                 ` Eli Zaretskii
2019-06-18 23:21                   ` YAMAMOTO Mitsuharu
2019-06-19 16:42                     ` Eli Zaretskii
2019-06-14 16:54     ` Andy Moreton
2019-06-14 10:52 ` YAMAMOTO Mitsuharu
2019-06-14 11:52   ` Robert Pluim
2019-06-14 12:26     ` Eli Zaretskii
2019-06-14 13:24       ` Robert Pluim

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=m2h88s1qc6.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=mituharu@math.s.chiba-u.ac.jp \
    /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.