[HarfBuzz] Failure in hb_font_get_nominal_glyph

Behdad Esfahbod behdad at behdad.org
Wed Jul 24 19:21:15 UTC 2019


Ah, right.  Yes.  Before 2.0.0 you'd have to call hb_ot_font_set_funcs()
explicitly...

Thanks Khaled!

On Wed, Jul 24, 2019 at 3:20 PM Khaled Hosny <dr.khaled.hosny at gmail.com>
wrote:

>
>
> > On Jul 24, 2019, at 9:13 PM, Eli Zaretskii <eliz at gnu.org> wrote:
> >
> >> From: Behdad Esfahbod <behdad at behdad.org>
> >> Date: Wed, 24 Jul 2019 15:11:03 -0400
> >> Cc: "harfbuzz at lists.freedesktop.org" <harfbuzz at lists.freedesktop.org>
> >>
> >> Nothing stands out to me.
> >
> > Thanks for taking a look.
> >
> > Could something like that be caused by an old version of Freetype
> > library used with HarfBuzz?  I believe when the OP upgraded his
> > HarfBuzz he also upgraded Freetype as its dependency.
>
>
> Emacs don’t seem to be using FreeType integration on your Windows code, so
> that seems unlikely.
>
> I think Emacs is missing a call to hb_ot_font_set_funcs() after creating
> the font. This is the default since only a few releases ago and Emacs code
> seems to assume it. This is not needed on Linux since the FreeType
> functions are used there.
>
> Regards,
> Khaled



-- 
behdad
http://behdad.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/harfbuzz/attachments/20190724/1afe7d3f/attachment.html>


More information about the HarfBuzz mailing list