Glyphs files exported as UFO might have incorrect styleName in fontinfo.plist

I think the styleName in fontinfo.plist ( fontinfo.plist) should probably be the same as the GSFontMaster.name on UFO export, but it gets the name “Regular” no matter what (is it using the stylemap style name, either Regular or Bold or Italic maybe?) This causes confusion for some Robofont plugins like ScaleFast that rely on this parameter

I implemented a fix in my own exporter script (https://github.com/jpt/font-scripts/blob/master/Glyphs/Export%20UFO%20and%20designspace%20files.py#L410) but imagine Glyphs should do this by default. But then again, maybe it’s ScaleFast that should change?

just flagging in case it’s an issue :slight_smile:

Normally the name of the master should not be used for this. Add an instance and set the name there.

GlyphsLib uses the master names here and there but it causes a lot confusion.