You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I understand it, the Flags value of and entry in the AxisValue fields of the STAT table specify which instances have names that can be left out of composed font names.
I'm unclear on this, but based on what I can tell from the (MS OT STAT Flags spec](https://docs.microsoft.com/en-us/typography/opentype/spec/stat#flags), it seems that for an AxisValue like "Regular," the flags should be set to 2 rather than 0, as a current process of fontmake + fix-vf-meta will result in.
The spec says of the ELIDABLE_AXIS_VALUE_NAME value:
If set, it indicates that the axis value represents the “normal” value for the axis and may be omitted when composing name strings.
This is different from the elidedFallbackNameID, which I didn't initially realize. Whereas the 2 of the elidedFallbackNameID refers to nameID 2, the 2 in the Flags value would just state an axis value can be left out of composed names. I'm not sure how vital this is, however, as MS Word already does leave the "Regular" name off of composed font names.
I'm posting this because I've been looking into this value, and I think it could be a spot where we could slightly improve the meta fixer. However, I have uncertainty on whether I'm reading the spec in a completely correct way, so if I am misunderstanding the Flags entry, we shouldn't change this.
The text was updated successfully, but these errors were encountered:
As I understand it, the
Flags
value of and entry in theAxisValue
fields of theSTAT
table specify which instances have names that can be left out of composed font names.I'm unclear on this, but based on what I can tell from the (MS OT STAT Flags spec](https://docs.microsoft.com/en-us/typography/opentype/spec/stat#flags), it seems that for an
AxisValue
like "Regular," theflags
should be set to2
rather than0
, as a current process of fontmake + fix-vf-meta will result in.The spec says of the
ELIDABLE_AXIS_VALUE_NAME
value:This is different from the
elidedFallbackNameID
, which I didn't initially realize. Whereas the2
of theelidedFallbackNameID
refers to nameID 2, the2
in theFlags
value would just state an axis value can be left out of composed names. I'm not sure how vital this is, however, as MS Word already does leave the "Regular" name off of composed font names.Here's a current Regular entry:
Here's what I suspect it should be (line 3 changed):
I'm posting this because I've been looking into this value, and I think it could be a spot where we could slightly improve the meta fixer. However, I have uncertainty on whether I'm reading the spec in a completely correct way, so if I am misunderstanding the
Flags
entry, we shouldn't change this.The text was updated successfully, but these errors were encountered: