4 ms·
Would this enable calligraphy style gradation of color within a stroke? Would love to see a font that has very subtle black level shifts.
by ballenf 4y ago
Would this enable calligraphy style gradation of color within a stroke? Would love to see a font that has very subtle black level shifts.
- easrng 4y agoThere are several color font formats. This one can't do gradients. You can check your browser's support at https://pixelambacht.nl/chromacheck/ https://pixelambacht.nl/chromacheck/. SBIX is Apple's format and it basically just embeds PNGs in the font which isn't scalable. COLRv0 is Microsoft's format and it basically just stacks single-color glyphs, so it's scalable but doesn't do gradients. COLRv1 is newer (2019) and adds support for gradients. Opentype-SVG is Mozilla and Adobe's format and it embeds SVGs for glyphs. You can do gradients and maybe even animation, and it scales. CBDT/CBLC is Google's format and it also includes bitmap images like SBIX. You can make fonts that support multiple of these with https://github.com/googlefonts/nanoemoji https://github.com/googlefonts/nanoemoji.
- pointlessone 4y agoNo, this is a bit different. This new feature lets font authors define "layers" that can be individually colored by the end-user. Color gradation you describe is technically possible but would require many layers since the feature doesn't accommodate for partial transparancy or gradients.