[csswg-drafts] Standardized text-stroke behavior in COLR table fonts (#6815)

yisibl has just created a new issue for https://github.com/w3c/csswg-drafts:

== Standardized text-stroke behavior in COLR table fonts ==
The `-webkit-text-stroke` property is currently implemented in all major browsers. Browsers behave differently when encountering [COLRv0 format](https://docs.microsoft.com/en-us/typography/opentype/spec/colr) fonts.

![image](https://user-images.githubusercontent.com/2784308/141626156-4e20a907-3d1c-4fb9-91aa-c256c062e44c.png)

Safari can add strokes to COLRv0 format fonts, but Firefox and Chrome do not, and the COLRv0 format is so widely used today that we need to standardize it to avoid compatibility differences. [Test  case](https://mo.m.taobao.com/union/color-font-test)

![image](https://user-images.githubusercontent.com/2784308/141626324-0d9a328c-3f07-42a5-bbd2-7650426c1097.png)
![Chrome vs Firefox-colr font](https://user-images.githubusercontent.com/2784308/141629508-966e4d44-6822-41fd-ba9a-59a5cfbd68b8.png)

With the COLRv1 format coming to OpenType 1.9 and [released in Chrome](https://groups.google.com/a/chromium.org/g/blink-dev/c/kDfj3rcA6sc), we also need to clarify how this property interacts with SVG tables and COLRv1.

@litherum @drott @jfkthame 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6815 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 13 November 2021 11:11:40 UTC