Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help with implementing NotoColorEmoji support #211

Closed
gojko opened this issue Nov 20, 2019 · 6 comments
Closed

help with implementing NotoColorEmoji support #211

gojko opened this issue Nov 20, 2019 · 6 comments

Comments

@gojko
Copy link

gojko commented Nov 20, 2019

Hi,

I started working on support for Google's Chrome/Chromebook color scheme for fonts (CBDT/CBLC), which would enable fontkit to work with Noto Emoji.

I got stuck and need a bit of guidance, so I'd appreciate a bit of help very much.

It looks like CBDT/CBLC fonts use PNG images, similarly to Apple's SBIX, but I'm having trouble locating images using CBLC. When loading Noto Color Emoji, it looks like the index subtables are incomplete (the metadata suggests there should be 22 subtables, but the table contains only one). Here's a test that demonstrates the problem:

gojko@69fe0b9#diff-7520f7bb309962ab07d37c60e93daab2R178

Any idea where to start looking next?

@yisibl
Copy link

yisibl commented Oct 21, 2021

Please consider using the COLRv1 font format, to which Noto Color Emoji is switching. https://github.com/googlefonts/color-fonts.

@yisibl
Copy link

yisibl commented Oct 21, 2021

@Pomax
Copy link
Contributor

Pomax commented Oct 21, 2021

Note that COLR/CPAL is not new to OpenType, and has been part of the spec for quite some time now (having been added way back in 2015, the same time CBDT/CBLC was added). Fontkit should be able to work with it just fine, it's OT-SVG it has problems with (and given that the project is basically abandoned, will unlike ever support it).

(See #260 for a previous discussion around color fonts focussed on the OT-SVG format)

@Pomax
Copy link
Contributor

Pomax commented Oct 21, 2021

@gojko can you show some (minimally viable) code that you're using right now in either your initial comment or as a reply? It shouldn't be too much work to see where things are going wrong.

@gojko
Copy link
Author

gojko commented Oct 22, 2021

@Pomax I abandoned this as there was no reply from anyone for months. I added the original comment more than two years ago, so it's not something I'm interested in any more, sorry.

@gojko gojko closed this as completed Oct 22, 2021
@Pomax
Copy link
Contributor

Pomax commented Oct 22, 2021

Yeah, fair enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants