-
Notifications
You must be signed in to change notification settings - Fork 30
Spec: let's mark the opsz default value "elidable" ? #83
Comments
This is correct; the value that is elided is implicitly the value that equals the default. So eg in https://github.com/google/fonts/blob/master/axisregistry/grade.textproto we have
and then later
Therefore this is elided.
We can't assume a library-wide default for That's why we have the axis default for So, in this case the elided value is the one defined in the METADATA file. Eg in https://github.com/google/fonts/blob/89ade4fa7b7663aec69d3202d2eefd928e78c467/ofl/ballet/METADATA.pb#L19-L23 we have
While drafting this, I noted that many of the families with an Ultimately, static instances should elide default values, and the static fonts available in upstream repos should eventually match the static fonts instanced by the API. However, the exact way the instancing works is still being figured out, in google/fonts#2616, and in google/fonts#2702. |
I am a bit confused by this PR #82 and @garretrieger's comment:
So if I have a font with opsz and wght axes, master origin is
Edit: no need to override the default weigth value if the fvar instances cover a range containing |
Having seens Marc's sheet today, I'm not sure if opsz should ever be elided, since it breaks the ordering. |
Yep, i think so too, user experience would be also clearer. But if we do, we have to accept inconsistency between fvar instances and static instancies. |
Slightly off topic. @evanadams-zz raised an interesting point in yesterday's meeting. He thinks that using "pt" in the axis value name may make users believe that this style is only suitable for that particular pt size. Evan, please correct me if I'm wrong here. |
Interesting speculation, but I'm not sure what to do about it. The onboarding team have prepared fonts based on the idea we will accept inconsistency between fvar instances and static instances, and never elide opsz |
Final answer is :
|
To resume:
FontName-Bold (wght=700, wdth=100, opsz=14)
.FontNameCondensed-BoldItalic
(familyname = FontNameCondensed
,stylename = Bold Italic
)FontName-Bold (wght=700, wdth=100)
. That's good, fvar instances and static instances have consistent naming.Proposal starts here:
We need the statics with an optical size axis named this way:
FontNameXXpt-Weight
.----> As for the width axis, should we have the default optical size value elidable as well ? For eg. static name then would be
FontName-Bold
instead ofFontName14pt-Bold
. It would be more consistent with the VF fvar instances, but we would have to assume that the "normal" optical size is the "text size" (in a range of 10 to 16pt)… or this is up to the designer?The text was updated successfully, but these errors were encountered: