unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Pankaj Jangid <p4j@j4d.net>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: HarfBuzz on MacOS
Date: Mon, 18 Nov 2019 11:29:12 +0100	[thread overview]
Message-ID: <m25zjho4uf.fsf@gmail.com> (raw)
In-Reply-To: <0100016e7e081fd1-2c6756e9-e845-4967-a69f-f6db9c59182d-000000@email.amazonses.com> (Pankaj Jangid's message of "Mon, 18 Nov 2019 10:21:32 +0000")

>>>>> On Mon, 18 Nov 2019 10:21:32 +0000, Pankaj Jangid <p4j@j4d.net> 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	other threads:[~2019-11-18 10:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-18 10:21 HarfBuzz on MacOS Pankaj Jangid
2019-11-18 10:29 ` Robert Pluim [this message]
2019-11-18 10:56   ` Pankaj Jangid
2019-11-19 13:39     ` Robert Pluim
2019-11-19 13:50       ` Pankaj Jangid
2019-11-19 16:18       ` Eli Zaretskii
2019-11-19 16:30         ` Robert Pluim
2019-11-21  5:03           ` YAMAMOTO Mitsuharu
2019-11-21 14:18             ` 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

  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=m25zjho4uf.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=p4j@j4d.net \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).