13rac1 / twemoji-color-font

Twitter Unicode emoji color OpenType-SVG font for Linux/MacOS/Windows
Other
1.69k stars 73 forks source link

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

Open kamekku14 opened 2 years ago

kamekku14 commented 2 years ago

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 https://github.com/eosrei/twemoji-color-font/issues/25#issuecomment-973385659.

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 commented 2 years ago

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

13rac1 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

@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 commented 8 months ago

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