Re: [csswg-drafts] [css-fonts] Propose adding lang as a font-face descriptor (#1744)

For cases where language variants are within a font file, CSS already requires looking up the correct variant using the element's content language. In cases where the font should switch, the :lang() selector can do this already:

```
[lang]:lang(a) { font-family: Font For Language A, fallback for A, etc; }
[lang]:lang(b) { font-family: Font For Language B, fallback for B, etc; }
```

The CSSWG believes this should be an adequate solution, so the suggestion is to close this issue as wontfix. Let us know if there's anything we missed and should reconsider.

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1744#issuecomment-443379409 using your GitHub account

Received on Saturday, 1 December 2018 00:21:59 UTC