-
Notifications
You must be signed in to change notification settings - Fork 747
Closed
Labels
Closed Rejected as Wontfix by CSSWG ResolutionCommenter Timed Out (Assumed Satisfied)css-fonts-4Current WorkCurrent Worki18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.Group bringing to attention of Internationalization, or tracked by i18n but not needing response.
Description
See https://drafts.csswg.org/css-fonts-3/#at-font-face-rule
Per the discussion in #1736, we note that generic fonts typically map to more than one system font with lang
affecting the resultant font. Adding lang
as a @font-face
descriptor might be useful for similar reasons, for example with CJK:
- CJK have partially intersecting character sets, so
unicode-range
alone cannot specify fonts for each language. This can be an issue on pages containing text in more than onelang
. - Even if a single font (or
@font-face
) contains faces for all the characters in some text, that font may not be for the correctlang
everywhere. (A single codepoint can map to different variant glyphs depending onlang
, and this is reflected in fonts.)
This addition would allow fonts to resolve lang
-appropriately when a font family specified with @font-face
is applied to a page with multiple lang
s.
patrickdark, myakura and chearon
Metadata
Metadata
Assignees
Labels
Closed Rejected as Wontfix by CSSWG ResolutionCommenter Timed Out (Assumed Satisfied)css-fonts-4Current WorkCurrent Worki18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.Group bringing to attention of Internationalization, or tracked by i18n but not needing response.