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: Paul Sheer
Subject: Re: Google's NotoColorEmoji-Regular.ttf not rending
Date: Tue, 20 Sep 2022 14:05:39 -0500

Hi Werner,

Thanks, ftview is a great help. However it does not display
NotoColorEmoji-Regular.ttf

Here is the origin of the file exactly:


paul@paul-LinuxBox:~/git/fonts$ cat .git/config
[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
[remote "origin"]
        url = https://github.com/google/fonts.git
        fetch = +refs/heads/*:refs/remotes/origin/*
[branch "main"]
        remote = origin
        merge = refs/heads/main
paul@paul-LinuxBox:~/git/fonts$ ls -la ofl/notocoloremoji
total 23540
drwxr-xr-x    2 paul paul     4096 Sep 13 11:01 .
drwxr-xr-x 1532 paul paul    49152 Sep 13 11:02 ..
-rw-r--r--    1 paul paul      200 Sep 13 11:01 DESCRIPTION.en_us.html
-rw-r--r--    1 paul paul    11963 Sep 13 11:01 METADATA.pb
-rw-r--r--    1 paul paul 24066744 Sep 13 11:01 NotoColorEmoji-Regular.ttf
-rw-r--r--    1 paul paul     4386 Sep 13 11:01 OFL.txt
-rw-r--r--    1 paul paul      167 Sep 13 11:01 upstream.yaml


Paul



On 9/19/22, 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]