-
Notifications
You must be signed in to change notification settings - Fork 719
[css-fonts-5] How to add new generic font families #6770
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
We had already resolved
|
A quick test indicates that font-family: generic(foobar), Garamond, serif; causes the entire declaration to be discarded. |
We already have a lot of such information for some proposals, such as Kai. We need to decide whether we are maintaining it in css-fonts or in a separate document. And it would be useful if we have a submission process and maybe a template. We also need to spec the functional notation (in css-fonts? or css-values?) if we have consensus. |
Agreed; I was looking to get consensus on what common information is needed before harvesting proposals (many of which have already been made). As you say, a template would be a good idea. |
If a function like |
Hyphenated prefixes seem more problematic to me, because (especially if we may eventually have quite a lot of them) they potentially conflict with author-specified font family names. It's not too much of a stretch to imagine an author writing I'm not sure |
That will work for new generics that are only available with the new syntax, but there is no incentive for content creators to use the new syntax for the existing generics. Which may be fine. |
I don't think we should change the existing generics. If it ain't broke, don't fix it. |
Probably wise, but what do we count as "existing". Are |
Sure, okay. |
The CSS Working Group just discussed
The full IRC log of that discussion |
Before the changes fixing this issue,
Now it is not clear:
Is it intentional to allow I would prefer to have generic font family names inlined in the value definition or abstracted with |
The title and label are both for L5, but the change was for L4. Should we change the title and label? |
The new |
Uh oh!
There was an error while loading. Please reload this page.
We agreed on the 27 Oct 2021 call to start a new issue about how to add generic font families. Below is my understanding of the current direction, as a way to start discussion.
There are two ways to go with the future evolution of generics:
It seems we have broad agreement that option 2 is the way to go.
This implies that new generics will be steadily added over time, which as @kojiishi noted gives us a potential name-clash problem. @frivoal suggested a
generic()
functional notation which would neatly solve that issue. @jfkthame had also suggested a functional notationWe should avoid being over-specific, as @fantasai mentioned, but also avoid being over-general or drawing forced analogies that do not take into account cultural factors (for example saying that
cursive
means brush drawn and also playful or informal, when it may mean the exact opposite, like "official and somewhat archaic government pronouncements"). And as @litherum noted, it is easier to discuss specific families rather than being too meta, once we have a general direction agreed upon.In Scope
Finding the existing generic categories that particular communities need, and for each one document
Retrospectively applying that procedure to existing and already-proposed generics
Deprecating
fantasy
Out of Scope
User-defined generics (how would content authors discover and use them)
Creating the latest and best completely universal type classification system which can accurately and uncontroversially classify any typeface ever created to an astonishing level of detail, which everyone agrees is the right one
(This spun out from [meta] [css-fonts] Criteria for generic font families #4910 )
The text was updated successfully, but these errors were encountered: