The basic problem is that when I use ufo2glyphs, my axis values are getting lost and mixed up.
I have axes for opsz, wght, and ital, but it seems to lose opsz and ital when creating the Glyphs document. More specifically:
The Glyphs file only gets a variable axis for wght
In Masters, the opsz value goes into the "Weight" axis
In Exports, the wght value does make it into the Weight Class. But again, the wght value is filled out by what should be opsz.
So, all my instances previews are given the same appearance.
And, when I use glyphs2ufo to go back to a designspace, the designspace inherits the mixed-up data from the Glyphs document.
I’m on glyphsLib version 6.2.2, the latest release as of today.
It’s definitely possible that my input designspace is somehow malformed, but it seems to work okay in other settings (like Prepolator Next, for RoboFont), so it’s probably not too badly formed. I’ll try to test it with Designspace Problems, etc, and update if I find a solution on my end.
Thanks!
Full Designspace, before `ufo2glyphs` (Click to expand)
```xml
Optical SizeWeight
```
Full Designspace, after roundtrip (Click to expand)
```xml
com.schriftgestaltung.exportcom.schriftgestaltung.intanceInterpolationsDE64852F-2E83-401C-8F7D-B9C16CA13CDD1com.schriftgestaltung.manualInterpolationcom.schriftgestaltung.weightRegularcom.schriftgestaltung.widthMedium (normal)com.schriftgestaltung.exportcom.schriftgestaltung.intanceInterpolationsDE64852F-2E83-401C-8F7D-B9C16CA13CDD1com.schriftgestaltung.manualInterpolationcom.schriftgestaltung.weightRegularcom.schriftgestaltung.widthMedium (normal)com.schriftgestaltung.exportcom.schriftgestaltung.intanceInterpolationsDE64852F-2E83-401C-8F7D-B9C16CA13CDD1com.schriftgestaltung.manualInterpolationcom.schriftgestaltung.weightThincom.schriftgestaltung.widthMedium (normal)com.schriftgestaltung.exportcom.schriftgestaltung.intanceInterpolationsDE64852F-2E83-401C-8F7D-B9C16CA13CDD1com.schriftgestaltung.manualInterpolationcom.schriftgestaltung.weightExtraLightcom.schriftgestaltung.widthMedium (normal)com.schriftgestaltung.exportcom.schriftgestaltung.intanceInterpolationsDE64852F-2E83-401C-8F7D-B9C16CA13CDD1com.schriftgestaltung.manualInterpolationcom.schriftgestaltung.weightLightcom.schriftgestaltung.widthMedium (normal)com.schriftgestaltung.exportcom.schriftgestaltung.intanceInterpolationsDE64852F-2E83-401C-8F7D-B9C16CA13CDD1com.schriftgestaltung.manualInterpolationcom.schriftgestaltung.weightRegularcom.schriftgestaltung.widthMedium (normal)com.schriftgestaltung.exportcom.schriftgestaltung.intanceInterpolationsDE64852F-2E83-401C-8F7D-B9C16CA13CDD1com.schriftgestaltung.manualInterpolationcom.schriftgestaltung.weightMediumcom.schriftgestaltung.widthMedium (normal)com.schriftgestaltung.exportcom.schriftgestaltung.intanceInterpolationsDE64852F-2E83-401C-8F7D-B9C16CA13CDD1com.schriftgestaltung.manualInterpolationcom.schriftgestaltung.weightSemiBoldcom.schriftgestaltung.widthMedium (normal)com.schriftgestaltung.exportcom.schriftgestaltung.intanceInterpolationsDE64852F-2E83-401C-8F7D-B9C16CA13CDD1com.schriftgestaltung.manualInterpolationcom.schriftgestaltung.weightBoldcom.schriftgestaltung.widthMedium (normal)com.schriftgestaltung.exportcom.schriftgestaltung.intanceInterpolationsDE64852F-2E83-401C-8F7D-B9C16CA13CDD1com.schriftgestaltung.manualInterpolationcom.schriftgestaltung.weightExtraBoldcom.schriftgestaltung.widthMedium (normal)com.schriftgestaltung.exportcom.schriftgestaltung.intanceInterpolationsDE64852F-2E83-401C-8F7D-B9C16CA13CDD1com.schriftgestaltung.manualInterpolationcom.schriftgestaltung.weightBlackcom.schriftgestaltung.widthMedium (normal)com.schriftgestaltung.exportcom.schriftgestaltung.intanceInterpolationsDE64852F-2E83-401C-8F7D-B9C16CA13CDD1com.schriftgestaltung.manualInterpolationcom.schriftgestaltung.weightRegularcom.schriftgestaltung.widthMedium (normal)com.schriftgestaltung.exportcom.schriftgestaltung.intanceInterpolationsDE64852F-2E83-401C-8F7D-B9C16CA13CDD1com.schriftgestaltung.manualInterpolationcom.schriftgestaltung.weightRegularcom.schriftgestaltung.widthMedium (normal)com.schriftgestaltung.exportcom.schriftgestaltung.intanceInterpolationsDE64852F-2E83-401C-8F7D-B9C16CA13CDD1com.schriftgestaltung.manualInterpolationcom.schriftgestaltung.weightRegularcom.schriftgestaltung.widthMedium (normal)com.schriftgestaltung.exportcom.schriftgestaltung.intanceInterpolationsDE64852F-2E83-401C-8F7D-B9C16CA13CDD1com.schriftgestaltung.manualInterpolationcom.schriftgestaltung.weightThincom.schriftgestaltung.widthMedium (normal)com.schriftgestaltung.exportcom.schriftgestaltung.intanceInterpolationsDE64852F-2E83-401C-8F7D-B9C16CA13CDD1com.schriftgestaltung.manualInterpolationcom.schriftgestaltung.weightExtraLightcom.schriftgestaltung.widthMedium (normal)com.schriftgestaltung.exportcom.schriftgestaltung.intanceInterpolationsDE64852F-2E83-401C-8F7D-B9C16CA13CDD1com.schriftgestaltung.manualInterpolationcom.schriftgestaltung.weightLightcom.schriftgestaltung.widthMedium (normal)com.schriftgestaltung.exportcom.schriftgestaltung.intanceInterpolationsDE64852F-2E83-401C-8F7D-B9C16CA13CDD1com.schriftgestaltung.manualInterpolationcom.schriftgestaltung.weightRegularcom.schriftgestaltung.widthMedium (normal)com.schriftgestaltung.exportcom.schriftgestaltung.intanceInterpolationsDE64852F-2E83-401C-8F7D-B9C16CA13CDD1com.schriftgestaltung.manualInterpolationcom.schriftgestaltung.weightMediumcom.schriftgestaltung.widthMedium (normal)com.schriftgestaltung.exportcom.schriftgestaltung.intanceInterpolationsDE64852F-2E83-401C-8F7D-B9C16CA13CDD1com.schriftgestaltung.manualInterpolationcom.schriftgestaltung.weightSemiBoldcom.schriftgestaltung.widthMedium (normal)com.schriftgestaltung.exportcom.schriftgestaltung.intanceInterpolationsDE64852F-2E83-401C-8F7D-B9C16CA13CDD1com.schriftgestaltung.manualInterpolationcom.schriftgestaltung.weightBoldcom.schriftgestaltung.widthMedium (normal)com.schriftgestaltung.exportcom.schriftgestaltung.intanceInterpolationsDE64852F-2E83-401C-8F7D-B9C16CA13CDD1com.schriftgestaltung.manualInterpolationcom.schriftgestaltung.weightExtraBoldcom.schriftgestaltung.widthMedium (normal)com.schriftgestaltung.exportcom.schriftgestaltung.intanceInterpolationsDE64852F-2E83-401C-8F7D-B9C16CA13CDD1com.schriftgestaltung.manualInterpolationcom.schriftgestaltung.weightBlackcom.schriftgestaltung.widthMedium (normal)com.schriftgestaltung.exportcom.schriftgestaltung.intanceInterpolationsDE64852F-2E83-401C-8F7D-B9C16CA13CDD1com.schriftgestaltung.manualInterpolationcom.schriftgestaltung.weightRegularcom.schriftgestaltung.widthMedium (normal)GSDontShowVersionAlert1
```
The basic problem is that when I use
ufo2glyphs
, my axis values are getting lost and mixed up.I have axes for opsz, wght, and ital, but it seems to lose opsz and ital when creating the Glyphs document. More specifically:
wght
opsz
value goes into the "Weight" axiswght
value does make it into the Weight Class. But again, thewght
value is filled out by what should beopsz
.glyphs2ufo
to go back to a designspace, the designspace inherits the mixed-up data from the Glyphs document.I’m on glyphsLib version
6.2.2
, the latest release as of today.It’s definitely possible that my input designspace is somehow malformed, but it seems to work okay in other settings (like Prepolator Next, for RoboFont), so it’s probably not too badly formed. I’ll try to test it with Designspace Problems, etc, and update if I find a solution on my end.
Thanks!
Full Designspace, before `ufo2glyphs` (Click to expand)
```xmlFull Designspace, after roundtrip (Click to expand)
```xml