[csswg-drafts] [css-inline] `text-box-edge: ideographic` and `ideographic-ink` should use ideographic fonts in the cascade list (#10928)

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

== [css-inline]  `text-box-edge: ideographic` and `ideographic-ink` should use ideographic fonts in the cascade list ==
Many CJK sites use Latin fonts as the first available fonts, to use the Latin fonts for Latin characters. For example:
```css
font-family: Arial, CJK-font, sans-serif;
```

Authors want to align text very accurately when applying `ideographic` or `ideographic-ink` for the [`text-box-edge` property](https://drafts.csswg.org/css-inline-3/#propdef-text-box-edge). In this case, using the metrics from `Arial` doesn't help, but we don't have a mechanism to use metrics from the `CJK-font`.

Can we define, at least for `text-box-edge: ideographic*`, it should use the "first available ideographic font", instead of "first available font"? How to define the "first available ideographic font" isn't technically a simple work though.

(I mentioned this in #10850 but splitting as it's has enough complexity to discuss separately)

@fantasai @nt1m @vitorroriz @Clqsin45 @bfgeek @jfkthame @kidayasuo @xfq

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


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

Received on Friday, 20 September 2024 07:18:17 UTC