Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiaxis v3 Glyphs files fail to generate multiaxis designspace #746

Closed
jpt opened this issue Nov 6, 2021 · 2 comments
Closed

Multiaxis v3 Glyphs files fail to generate multiaxis designspace #746

jpt opened this issue Nov 6, 2021 · 2 comments
Assignees

Comments

@jpt
Copy link

jpt commented Nov 6, 2021

The error message suggests that glyphsLib is only looking at weight and width; the test font contains an optical axis, so the locations are unique

glyphs2ufo TestFont.glyphs
DesignSpace sources contain duplicate locations; varLib expects each master to define a unique location.
  ['Test Font Thin 8pt', 'Test Font Bold 8pt', 'Test Font Thin 144pt', 'Test Font Bold 144pt', 'Test Font Thin 8pt Expanded', 'Test Font Bold 8pt Expanded', 'Test Font Thin 144pt Expanded', 'Test Font Bold 144pt Expanded'] => {'Weight': 100, 'Width': 100, 'Custom': 0}
@jpt
Copy link
Author

jpt commented Nov 6, 2021

FWIW, if I resave as a v2 file, it works fine to generate the designspace file, although it cant generate the font (perhaps due to the designspace/userspace issue I mentioned in #745 — I've attached a v2 file there for testing if it's helpful).

Is there a branch I should be on to test v3 files? I am on the latest main

I've attached the minimally mastered v3 test font (one glyph - n) that I've been using to evaluate glyphsLib. It's reflective of a font that properly compiles using Glyphs 3.0.4 build 3100

TestFont.glyphs.zip

@simoncozens
Copy link
Collaborator

As of the PR above, glyphs2ufo completes successfully but gives an ambiguous designspace file because of #745. So I am closing this and moving there instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants