-
Notifications
You must be signed in to change notification settings - Fork 75
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: Chrome/Android CBDT format font #25
Comments
I want to, but need to find the time. Many other projects have been in the way. |
@eosrei I hope you find time soon to work on this, so far you've done great work. |
How do you build the font files? |
https://github.com/googlei18n/nototools
you might be able to use some of the tooling from googles noto project,
which is the most popular font supporting this format
|
I managed to build a CBDT font from the svg's. I did it by downloading the source for the "Noto Color Emoji": https://github.com/googlei18n/noto-emoji |
There's a package on Fedora that has this https://apps.fedoraproject.org/packages/twitter-twemoji-fonts |
A much better solution is adding SVGinOT/SVG-in-OpenType support to Chrome/Chromium and Electron. Star this issue to raise the priority https://bugs.chromium.org/p/chromium/issues/detail?id=306078 |
It's not an OpenType-SVG file, admittedly, but rather COLR/CPCAL, but if your only concern is having a According to https://www.colorfonts.wtf/, COLR/CPCAL is already supported on Chromium & Co.: |
COLRv0 is now supported basically everywhere. COLRv1 makes more sense for emojis and will probably be supported by browsers eventually. It is almost as powerful as SVGinOT. |
Eh... COLR works for flat emoji like twemoji, but not anything with depth/gradients like gradiently. It would work with multicoloure or reinebow though 🤷🏼 The problem is literally only Chromium, therefore Chrome/Edge. Even Adobe software such as Photoshop supports OpenType-SVG. A Python SVG -> stacked glyphs library could be created or even just added to scfbuild. My todo list already seems infinite, so I won't to get doing that on a timeline anyone is happy with 😆 |
OpenType 1.9 updates COLR to support gradients etc., which is frequently dubbed ”COLRv1“. https://docs.microsoft.com/en-us/typography/opentype/otspec190alpha/ot190alpha |
As of comment 62 on the aforementioned issue, future OT-SVG support in Chromium is basically dead in the water. May want to consider biting the bullet with COLRv1. |
The proposal has not been approved yet. I will wait. Proposed spec: googlefonts/colr-gradients-spec Chrome Feature Status: https://www.chromestatus.com/feature/5638148514119680 As Myles@Apple says, it seems like reinventing the wheel to me at first take. I'll consider this further 🤔 |
Chrome's response to Apple's standard position may have useful considerations in that regard. This might be useful in this context: https://github.com/googlefonts/color-fonts/tree/main/fonts contains COLRv1 versions ( |
As of 98.0.4713.0 (when writing, latest canary), COLRv1 fonts are now enabled by default in Chrome (thanks @drott!). |
Closed in favor of #113 |
As in https://pixelambacht.nl/chromacheck/ , android chrome supports CBDT. What's more, Google folks added OT-SVG support to chrome, but left it disabled: If you have the facility to build chrome for android, gives the patches a try. |
Hi! I was just wondering how close CBDT may be? I've made a Magisk module out of Twemoji but they're just in black and white, because, well cbdt. I was wondering if you knew anything further on this?
The text was updated successfully, but these errors were encountered: