emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HarfBuzz on MacOS


From: Robert Pluim
Subject: Re: HarfBuzz on MacOS
Date: Mon, 18 Nov 2019 11:29:12 +0100

>>>>> On Mon, 18 Nov 2019 10:21:32 +0000, Pankaj Jangid <address@hidden> said:

    Pankaj> I have following output from pkg-config:
    Pankaj> pankaj@Pankajs-MacBook-Pro emacs % pkg-config --libs "harfbuzz >= 
1.2.3"
    Pankaj> -L/usr/local/Cellar/harfbuzz/2.6.4/lib -lharfbuzz
    Pankaj> pankaj@Pankajs-MacBook-Pro emacs % pkg-config --cflags "harfbuzz >= 
1.2.3"
    Pankaj> -I/usr/local/Cellar/harfbuzz/2.6.4/include/harfbuzz
    Pankaj> -I/usr/local/Cellar/glib/2.62.2/include/glib-2.0
    Pankaj> -I/usr/local/Cellar/glib/2.62.2/lib/glib-2.0/include
    Pankaj> -I/usr/local/opt/gettext/include 
-I/usr/local/Cellar/pcre/8.43/include
    Pankaj> -I/usr/local/Cellar/graphite2/1.3.13/include

    Pankaj> But even when I use "./configure --with-harfbuzz", the output of
    Pankaj> configure script is

    Pankaj> ...
    Pankaj> Does Emacs use -lgnutls?                                yes
    Pankaj> Does Emacs use -lxml2?                                  yes
    Pankaj> Does Emacs use -lfreetype?                              no
    Pankaj> Does Emacs use HarfBuzz?                                no
    Pankaj> ...

    Pankaj> I have two questions now.

    Pankaj> 1. Does HarfBuzz make any difference on MacOS?
    Pankaj> 2. Why HarfBuzz is not selected by the configure script?

HarfBuzz is currently only checked for when building on Windows or for
X11. On macOS the build defaults to the NS backend, not X11. Even if
configure detected HarfBuzz, I donʼt think the code is in place to
actually use it on mac.

Robert



reply via email to

[Prev in Thread] Current Thread [Next in Thread]