| Summary: | Support for COLRv1 color vector fonts | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Dominik Röttsches (drott) <d-r> |
| Component: | Text | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Enhancement | CC: | akiem, d-r, mmaxfield, rsheeter, webkit-bug-importer, woodlxf00 |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Dominik Röttsches (drott)
2021-11-25 08:13:32 PST
Support for this would be in the platform text libraries, not WebKit itself. Unless I’m misunderstanding? > Support for this would be in the platform text libraries, not WebKit itself. Unless I’m misunderstanding?
The intention of filing this issue is to have format support in WebKit, as a feature available on the web. Whether that supports originates from platform libraries (as it's done traditionally through CoreText in Safari), or in higher layers is an architectural choice: It's probably possible to implement support for CORLv1 based on FreeType and the platform graphics contexts that WebKit's architecture provides an abstraction for.
From a type designer point of view, it would be great to have a better support of the COLRv1 table. For me, one of the key features it provides is not the colors, but that we can also use it as a more advanced glyf table. Using only the foreground color, you get everything that the current glyf table provides + a lot of other stuff like transformations, compositing, blending, layering. This makes COLRv1 very different from other color-related tables like SVG, COLOR (version0), six... OpenType 1.9 has been released for a while now. https://learn.microsoft.com/en-us/typography/opentype/spec/ And both Chrome and Firefox has supported it. https://caniuse.com/colr-v1 Is it any change on position? Will it been implemented in future milestones? If it existed, implementation would be in the platform text libraries in macOS/iOS, not in WebKit. We cannot comment about that. |