Skip to content
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

COLRv1 fonts #864

Open
o-t-w opened this issue Oct 9, 2024 · 3 comments
Open

COLRv1 fonts #864

o-t-w opened this issue Oct 9, 2024 · 3 comments
Labels
focus-area-proposal Focus Area Proposal

Comments

@o-t-w
Copy link

o-t-w commented Oct 9, 2024

Description

COLRv1 is a color font format that improves upon COLRv0 by adding support for gradients, among other features.

Unlike other color font formats, COLR fonts can utilise the CSS font-palette property.
Variable fonts have become popular on the web. Unlike other color font formats, COLR fonts can be variable fonts.

Specification

https://learn.microsoft.com/en-us/typography/opentype/spec/colr
https://github.com/googlefonts/colr-gradients-spec

Additional Signals

In 2021, Safari's position on COLRv1 was negative. Many of the concerns and reservations Apple raised have since been rectified. I am hopeful that they can reconsider and update their position.
COLRv1 is supported by Firefox and Chrome/Edge/Samsung Internet.

Of the two most popular font creation tools:

  • Creation of COLRv1 fonts is supported in FontLab.
  • Glyphs app has made it clear that COLRv1 is on their roadmap.

COLRv0 is supported by Sketch and Affinity Designer apps. Hopefully they will support v1 eventually. Figma supports neither OpenType-SVG or COLR.

We have started to see more COLRv1 fonts become publicly available (see here for a somewhat comprehensive list), including many variable COLRv1 fonts.

On Windows 11, COLRv1 was used to implement emoji.

While it is possible to support all browsers by using both a COLRv1 font for Chromium and Firefox and a SVG font for Safari, this requires the font foundry to release the font in both formats, and requires slightly more knowhow and effort for developers to implement. The variety of color font formats is somewhat difficult to navigate for both font creators and frontend developers.

@o-t-w o-t-w added the focus-area-proposal Focus Area Proposal label Oct 9, 2024
@drott
Copy link

drott commented Oct 15, 2024

@othermaciej
Copy link

Is COLRv1 an open standard? The specification links are to a Microsoft documentation page and a Google explainer page. Are these Microsoft docs the canonical OpenType spec?

@gsnedders
Copy link
Member

Is COLRv1 an open standard? The specification links are to a Microsoft documentation page and a Google explainer page. Are these Microsoft docs the canonical OpenType spec?

The canonical OpenType spec is just the MS docs; COLRv1 is also standardised for Open Font Format in ISO/IEC 14496-22:2019/Amd. 2:2023.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
focus-area-proposal Focus Area Proposal
Projects
Status: No status
Development

No branches or pull requests

4 participants