x/image/font/gofont: Go fonts not representative of OpenType state of the art #37441
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
The Go and Go Mono font families are unfortunately not representative of the current OpenType state of the art.
This is not blocking their use on godoc or on Go user systems (font-using applications have layers on layers of backwards compatibility glue built in) but that is a problem when Go code uses them as representative OpenType test data.
In a modern OpenType font:
Go Medium would be merged as a “Medium” style of the Go font family (OpenType Name ID 16/17 or 21/22 if 16/17 was not WWS compliant). Name ID 1/2 with their 4-style limits have long been deprecated in the OpenType spec, and are only present as a legacy layer.
https://docs.microsoft.com/en-us/typography/opentype/spec/name#name-ids
Go Smallcaps would be merged within the Go font family and would be accessed via OpenType features (which is already possible in LibreOffice, for example).
https://docs.microsoft.com/en-us/typography/opentype/spec/features_pt#smcp
There would be at least a style exercising the width axis
To make Go ready for variable fonts, it should include a variable variant or at least set weight or slant in non variable fonts via the STAT table, not the legacy OS/2 system
https://docs.microsoft.com/en-us/typography/opentype/spec/dvaraxistag_wght
If the Go project feels really ambitious, some optical sizing would be nice too, but that part of the OpenType spec is not totally baked yet
All of that does not matter if the Go fonts are no longer intended to be used as representative font test data in x/image and friends.
The text was updated successfully, but these errors were encountered: