yeslogic / allsorts

Font parser, shaping engine, and subsetter implemented in Rust
https://yeslogic.com/blog/allsorts-rust-font-shaping-engine/
Apache License 2.0
706 stars 23 forks source link

COLR table support #78

Open wezm opened 1 year ago

wezm commented 1 year ago

COLR & CPAL tables allow colour glyphs to defined in terms of a palette and regular glyph outlines. COLRv0 did not see much adoption outside of Microsoft's emoji font but COLRv1 seems to be getting wider support. In particular Google seems to be pretty bullish on it: https://developer.chrome.com/blog/colrv1-fonts/

It would be good to support reading these tables in Allsorts.

yisibl commented 1 year ago

This is great, Firefox also supports COLRv1

https://caniuse.com/colr-v1 image