freetype
[Top][All Lists]
Advanced

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

Re: Google's NotoColorEmoji-Regular.ttf not rending


From: Cosimo Lupo
Subject: Re: Google's NotoColorEmoji-Regular.ttf not rending
Date: Tue, 20 Sep 2022 10:41:38 +0100

Maybe Paul downloaded that font from
https://fonts.google.com/noto/specimen/Noto+Color+Emoji?
That version of the font does not contain CBDT/CBLC *bitmap* color tables,
but only COLRv1 and OT-SVG *vector* color tables.

On Mon, Sep 19, 2022 at 4:57 PM Werner LEMBERG <wl@gnu.org> wrote:

> >
> > I have had great success with Google's older NotoColorEmoji.ttf and
> > NotoEmoji-Regular.ttf released by Google in 2019.
> >
> > However they have since updated their fonts. They now have a font
> > NotoColorEmoji-Regular.ttf
>
> They have?  Looking at
>
>
> https://github.com/googlefonts/noto-emoji/blob/main/fonts/NotoColorEmoji.ttf
>
> the most recent color emoji font (v2.038 from 2022-Sept-16) is still
> called `NotoColorEmoji.ttf`.  Whence did you get the font?
>
> > I use the code below to load 😀 0x1f600. Further below is the gdb dump
> > of the glyph struct with the non-working and working font when trying
> > to load the same unicode code-point.
> >
> > As you can see the bitmap struct is not populated.
> >
> > Can anyone help?
>
> Please have a look how `ftview` is doing this.
>
>
> https://gitlab.freedesktop.org/freetype/freetype-demos/-/blob/master/src/ftview.c
>
> The abovementioned font from the git repository gets loaded just fine.
>
>
>     Werner
>


reply via email to

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