This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
spec:css-fonts [2020/04/02 10:39] – Official documentation from Microsoft and Apple crissov | spec:css-fonts [2020/05/11 23:10] (current) – [Additional Considerations] fantasai | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
//Note that this section is still under discussion, and not final.// | //Note that this section is still under discussion, and not final.// | ||
+ | |||
+ | ===== Requirements for adding new generic font families ===== | ||
Each newly proposed //generic font family// must pass a test to be considered as an addition to the specification. This test is necessary, but not sufficient, for its addition. | Each newly proposed //generic font family// must pass a test to be considered as an addition to the specification. This test is necessary, but not sufficient, for its addition. | ||
Line 8: | Line 10: | ||
- There need to be at least two distinct typefaces in the world which can map to the //generic font family//. In this case, " | - There need to be at least two distinct typefaces in the world which can map to the //generic font family//. In this case, " | ||
- | - Because //generic font families// are only relevant for // | + | - Because //generic font families// are only relevant for // |
Resources | Resources | ||
Line 14: | Line 16: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
- | | + | |
+ | ===== Goals for adding new font families ===== | ||
+ | |||
+ | CSSWG is still discussing what are acceptable purposes for adding new generics. Some categories being considered include: | ||
+ | |||
+ | * Categories required for common patterns of typographic differentiation used for semantic purposes, e.g. for emphasis (as in Roman vs. Italic in Latin), where this differentiation is not otherwise generically possible in a given writing system. | ||
+ | * Broadly-applicable stylistic categories. [Globally-relevant categories only? Or also writing-system specific ones?] | ||
+ | * Categories required to represent important regional variations within a writing system. [There' | ||
+ | |||
+ | Discussion Resources | ||
+ | |||
+ | * [[https:// | ||
+ | * Minutes 2020-04-29 | ||
+ | |||
+ | ===== Additional Considerations ===== | ||
+ | |||
+ | * Some of these goals have different use case requirements wrt fallback behavior. For example, a '' | ||
+ | * Adjusting generic font mappings, e.g. to use newer fonts on a newer OS, can have Web-compat impact. | ||
+ | |||
+ | ===== Use Cases ===== | ||
+ | |||
+ | Some use cases for generics include: | ||
+ | |||
+ | * Fallback fonts for when Web fonts are blocked or otherwise not downloadable. | ||
+ | * Matching to the system environment. | ||
+ | * Ebooks, which do not want to package large font files (particularly in CJK environments) or pay per-copy licensing fees, but do want some amount of stylistic choice over font-family choices. |