Open Bug 1740525 Opened 6 months ago Updated 20 days ago

[meta] Support COLRv1 fonts

Categories

(Core :: Layout: Text and Fonts, enhancement)

enhancement

Tracking

()

People

(Reporter: jfkthame, Unassigned)

References

(Depends on 3 open bugs)

Details

(Keywords: meta)

We should look into supporting the new/forthcoming COLRv1 format for color fonts. This promises to provide similarly-rich graphic capabilities to SVG-in-OpenType, in a form that will be more compact and efficient.

(My expectation is that COLRv1 may essentially supersede SVG-in-OT, and in due course we will be able to consider deprecating that format and eventually removing support for it.)

https://github.com/googlefonts/colr-gradients-spec/
https://github.com/mozilla/standards-positions/issues/497

Depends on: 1740526
Depends on: 1740528
Depends on: 1740530

Heads up that Android 13 is expected to deploy COLRv1 system emoji. I filed https://github.com/mozilla-mobile/fenix/issues/24350 for Android specific issues. Happy to close that and move the details here if that would be more helpful.

See Also: → 1760567

Freetype has COLRv1 support, so if we support it for Android/Linux only, we can delegate render it to freetype for COLRv1 like Apple's color font.

(In reply to Makoto Kato [:m_kato] from comment #2)

Freetype has COLRv1 support, so if we support it for Android/Linux only, we can delegate render it to freetype for COLRv1 like Apple's color font.

Yes, that's a possible way forward for those platforms, though on desktop Linux we use system freetype, so we'd be dependent on what version is present; some older "stable" distros might not be shipping a COLRv1-capable freetype for a while yet.

You need to log in before you can comment on or make changes to this bug.