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: Fri, 07 Jun 2019 18:05:23 +0100	[thread overview]
Message-ID: <vz1lfydba24.fsf@gmail.com> (raw)
In-Reply-To: 83o93iwwtn.fsf@gnu.org

On Fri 31 May 2019, Eli Zaretskii wrote:

> The harfbuzz branch can now be built on MS-Windows, and will support
> the new 'harfbuzz' font backend if the requisite DLLs are installed.
>
> Work still continues on the branch in preparation for landing it on
> master at a later date, but I'd like at this time to ask people to try
> building the branch on Windows and report any problems they see.  Once
> the branch is built, you can test that it's working by typing "C-h h"
> and seeing whether HELLO displays correctly.

I've tested this with an MSYS2 64bit build on Windows 10. It appears to
work ok, but is noticeably slower compared to the master branch. I also
found the following minor issues:

a) On harfbuzz and master branches from "emacs -Q", a machine without
the Symbola font does not display the emoji U+1F44B WAVING HAND SIGN (no
font available). Babelmap shows that this character is available using
the built-in "Segoe UI Symbol" or "Segoe UI Emoji" fonts (or by
installing Symbola).

b) On the harfbuzz branch from "emacs -Q", the lao U+EC3 LAO VOWEL SIGN
AY and U+EC3 LAO VOWEL SIGN O characters are not displayed (no font
available). Babelmap shows that this character is available using the
built-in "Leelawadee UI" font.


I use the following to speed up finding built-in fonts on Windows 10:

  (pcase-dolist
      (`(,font-spec . ,targets)
       '(;; Unicode blocks ---------------------------------------
         ("Segoe UI Emoji"
          (#x1f900 . #x1f9ff)) ; Supplemental Symbols and Pictographs
         ;; Unicode scripts --------------------------------------
         ("Segoe UI Symbol"      braille mathematical symbol)
         ("Leelawadee UI"        khmer thai lao)
         ("Nirmala UI"           bengali devanagari gujarati kannada
          malayalam oriya sinhala tamil telugu)
         ("Microsoft Himalaya"   tibetan)
         ("Myanmar Text"         burmese)
         ("Ebrima"               ethiopic)
         ("Gadugi"               canadian-aboriginal cherokee)))
    (dolist (target targets)
      (set-fontset-font "fontset-default" target font-spec nil 'prepend)))

Perhaps the built in fonts should be added to the default mappings for
Windows 10.

    AndyM





  parent reply	other threads:[~2019-06-07 17:05 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 [this message]
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
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=vz1lfydba24.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.