all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andy Moreton <andrewjmoreton@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: HarfBuzz is available on MS-Windows
Date: Sat, 08 Jun 2019 13:11:46 +0100	[thread overview]
Message-ID: <86blz86zul.fsf@gmail.com> (raw)
In-Reply-To: 83h890ppke.fsf@gnu.org

On Sat 08 Jun 2019, Eli Zaretskii wrote:
> There are 2 issues here: one is about the speed of finding fonts for
> certain characters, the other is about finding a suitable font at
> all.

Agreed.

> I was under the impression that your fontset customizations were
> meant to solve the speed issue, in which case I don't think it's an
> issue with the defaults, and in any case we shouldn't assume anything
> about the users' installation: they could have other fonts installed
> that they prefer, so it would be improper for Emacs to force them to
> use the built-in fonts.

The problem with incorrect character display is fixed by part of my
fontset customisation: the rest of it is to improve font lookup speed.
All of the mentioned fonts are installed by default on Windows 10.

Emacs should be capable of finding a font to display all of the 
characters in HELLO, as it can do so given some fontset customisation.
It should do so by default, so charatcers are displayed properly but
users can add further customisation to express a preference for
different fonts.

> In addition, quality of built-in fonts changes with time, so a font
> that comes with the system today might be less desirable to use
> tomorrow. Thus, including those fonts in our sources would mean we
> need to track the development of system fonts, update the fonts in our
> default fontsets, and perhaps make the fontset dependent on the OS
> version. This would be a maintenance burden.

It is more important to give users a working tool than to reduce
maintenance effort. The selection of fonts shipped with each platform
changes fairly slowly, so this should not present an undue burden.

> However, above you seem now to be talking about failure to find a font
> although some fonts do support the character.  That is a separate
> issue.  The question in this case is why doesn't Emacs find and select
> these fonts by itself, without any hints in the fontset in addition to
> what we already have there.

Yes, and this was the first part of what I wrote. This needs fixing.

> If you'd like to try debugging this, I can help by pointing to the
> code where this happens. In general, start with the fontset as defined
> in fontset.el, and then look in w32font.c:w32font_list_internal and
> its subroutines.

I can try debugging from there - any further hints are welcome.

    AndyM






  reply	other threads:[~2019-06-08 12:11 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-31 13:57 HarfBuzz is available on MS-Windows Eli Zaretskii
2019-05-31 14:25 ` Óscar Fuentes
2019-05-31 14:59   ` Eli Zaretskii
2019-05-31 16:44     ` Óscar Fuentes
2019-05-31 17:13       ` Óscar Fuentes
2019-05-31 18:04         ` Eli Zaretskii
2019-05-31 19:35           ` Óscar Fuentes
2019-05-31 18:00       ` Eli Zaretskii
2019-05-31 20:53 ` Óscar Fuentes
2019-05-31 22:10   ` Óscar Fuentes
2019-06-01  6:36     ` Eli Zaretskii
2019-06-02 18:46 ` Phillip Lord
2019-06-02 18:56   ` Eli Zaretskii
2019-06-02 19:07     ` Phillip Lord
2019-06-02 20:36       ` Óscar Fuentes
2019-06-03  2:42         ` Eli Zaretskii
2019-06-03  3:27           ` Óscar Fuentes
2019-06-03  3:52             ` Eli Zaretskii
2019-06-03  4:07               ` Óscar Fuentes
2019-06-03  6:49                 ` Eli Zaretskii
2019-06-04  4:51 ` Tak Kunihiro
2019-06-04 14:16   ` Eli Zaretskii
2019-06-07 17:05 ` Andy Moreton
2019-06-07 20:00   ` Eli Zaretskii
2019-06-07 21:13     ` Andy Moreton
2019-06-08  6:18       ` Eli Zaretskii
2019-06-08 12:11         ` Andy Moreton [this message]
2019-06-08 12:45           ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2019-05-31 20:24 Angelo Graziosi
2019-06-01  6:13 ` Eli Zaretskii

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=86blz86zul.fsf@gmail.com \
    --to=andrewjmoreton@gmail.com \
    --cc=emacs-devel@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.