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

Feature Request: COLRv1 support for Chrome 98 and above #113

Open
kamekku14 opened this issue Feb 4, 2022 · 8 comments
Open

Feature Request: COLRv1 support for Chrome 98 and above #113

kamekku14 opened this issue Feb 4, 2022 · 8 comments

Comments

@kamekku14
Copy link

So as it turns out, it seems that Google Chrome is finally leaving the COLRv1 font format out of the beta stage since the (stable!) release of version 98, as explained in #25 (comment).

But the question is: Will this font support this new kind of color font format? And will it work?

You can find this specification here, and I know that Google made a COLRv1 version of the Twemoji font here in https://github.com/googlefonts/color-fonts, but I couldn't afford to test it.

@CoelacanthusHex
Copy link

Firefox also supports COLRv1 now.
https://bugzilla.mozilla.org/show_bug.cgi?id=1740530

@13rac1
Copy link
Owner

13rac1 commented Oct 27, 2022

I find the idea of supporting COLRv1 interesting, but not compelling. The other fonts already exist. It seems like duplicate work to update this font. What is the benefit?

@pointydev
Copy link

pointydev commented Oct 27, 2022

As noted in my previous response in #25, OT-SVG support is very limited across browsers (only provided by Apple, who oppose this standard), and COLRv1 has been shipping since Chrome 98. Also, Firefox (with a positive position) will be enabling COLRv1 support by default in 107+.

This font, in it's current state, is very limited in where it can be used on the web.

@13rac1
Copy link
Owner

13rac1 commented Oct 27, 2022

This Feature Request will require a significant amount of work including updates to https://github.com/13rac1/scfbuild I wonder why the project should be prioritized when https://github.com/googlefonts/color-fonts exists. I have closed the CBDT/SBIX feature requests, because they are now redundant. COLRv1 is the correct path forward, but I need a convincing argument why it is necessary. How is this project better than googlefonts/color-fonts?

@pointydev
Copy link

pointydev commented Oct 27, 2022

Experimental color font builds. Intended to help verify font toolchain builds things that work with consuming tools for COLRv1 (colr gradients spec).

That repository is only intended to help verify/test toolchains as stated in it's README, not to be accurate, maintained and up-to-date.

@drott
Copy link

drott commented Oct 28, 2022

Chrome fonts developer here. You could use https://github.com/googlefonts/nanoemoji and https://github.com/googlefonts/picosvg to build your own version of Twemoji COLRv1 - this is mainly what we're doing in the https://github.com/googlefonts/color-fonts repository (compare this config), but you could maintain that continuously and modify it as you see fit.

@13rac1
Copy link
Owner

13rac1 commented Oct 28, 2022

@pointydev Yes, good point.

@drott Yes, I could! I cloned the repo last night to test and review. It would be easier to use nanoemoji than update my own tooling.

@HinTak
Copy link

HinTak commented Feb 6, 2024

Google folks added OT-SVG support to Chrome but left it disabled: https://issues.chromium.org/issues/40336440#comment71

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

6 participants