-
Notifications
You must be signed in to change notification settings - Fork 219
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
Comments
Please consider using the COLRv1 font format, to which Noto Color Emoji is switching. https://github.com/googlefonts/color-fonts. |
Coming soon in Chrome: https://groups.google.com/a/chromium.org/g/blink-dev/c/kDfj3rcA6sc |
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) |
@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. |
@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. |
Yeah, fair enough. |
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?
The text was updated successfully, but these errors were encountered: