I am in need to access the Feature Name field in the feature view in Glyphs 3. Documentation for GSFeature does not mention this data point. It seems that Glyphs 3 parses the text of the GSFeature.notes after the Name: . Can it be accessed by Glyphs API?
The labels method returns a list of GSFontInfoValue, one for each language. Use it like so:
for feature in Font.features:
for label in feature.labels():
lang = label.languageTag
isDefaultLang = label.isDefault()
name = label.value
print(f"lang={lang} default={isDefaultLang}: {name}")