Invalid openTypeNameRecords when exporting to UFO

I have a Glyphs file containing a language-specific (Croatian) entry for the Designer field.

When exporting this file to UFO the resulting file refuses to open in RoboFont.
It turns out that the openTypeNameRecords dictionary in fontinfo.plist is missing a required entry for encodingID:

<key>openTypeNameRecords</key>
	<array>
		<dict>
			<key>languageID</key>
			<integer>1050</integer>
			<key>nameID</key>
			<integer>9</integer>
			<key>platformID</key>
			<integer>3</integer>
			<key>string</key>
			<string>Name with Croatian glyphs đć</string>
		</dict>
	</array>

after manually inserting this the UFO file opens fine:

			<key>encodingID</key>
			<integer>1</integer>

I can reproduce this. Will file an issue, thanks for reporting!

fixed it.

1 Like