[Designspace v5] getStatNames should probably consider instance attributes at the given location for computing names · Issue #2890 · fonttools/fonttools · GitHub
More Web Proxy on the site http://driver.im/
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
I think currently, only labels are considered. I.e. if I get the STAT names for a location with an instance, the PostScript name should probably reflect the instance's family and style name. Or maybe not?
The text was updated successfully, but these errors were encountered:
The spirit of the getStatNames is the other way round: use the STAT data to compute default values for the instance family name, style name, stylemap names, and postscript name. If any of these computed names doesn't work for a particular instance, then it's up to the user to override the computed values with explicit attributes on the instance element. Otherwise, instance elements may have only a location, and all the names are optional.
The DS specification should be updated to reflect that.
I think currently, only labels are considered. I.e. if I get the STAT names for a location with an instance, the PostScript name should probably reflect the instance's family and style name. Or maybe not?
The text was updated successfully, but these errors were encountered: