-
Notifications
You must be signed in to change notification settings - Fork 93
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
Incorrect opsz
range in Designspace file generated from Glyphs project
#1002
Comments
It looks like you have both "Axis Mappings" custom parameter on the Font, and "Axis Location" custom parameters on the masters and instances. The two approaches are mutually exclusive, I would recommend to use the latter unless you need to add mappings for locations that are neither masters nor instances. Ah! it looks like you did disable the "Axis Mappings" parameter, but somehow fontmake (actually glyphsLib) is still reading that.. I think that's a bug. For now, can you please just delete the disabled "Axis Mappings" and see if that works? |
I got further this time. A bit strange why the Roman – which has the same disabled parameter – didn’t bail out. Anyway, now I got to |
I merged fonttools/fonttools#3145, try installing fonttools from github it should work around that |
If I install by way of |
no, that way you get the stable release from PyPI.
|
Sorry, but I am getting the same error, also with the fresh fonttools from github:
|
Try again, maybe pip uninstall fonttools and then install again, make sure you are installing it in the same environment where fontmake itself is |
Both |
no that's not how it's supposed to work, you want to install fonttools (library) in the same virtual environment where fontmake (application) is installed, such that fontmake can import that. |
basically, you need to activate the venv where fontmake is installed and use that venv's pip command to install the fonttools from github |
Success. Thank you for your speedy fix. |
When I try to generate a VF from a Glyphs project, I get the following error on the Italic Glyphs file:
The
opsz
is given as 5–120 when it is in fact 5–1200 in the Glyphs file. I can’t find this 120 value anywhere in the Glyphs file. The Roman is set up just like the Italic, and that one does not show this error. Theaxes
table in the Roman Designspace file is:I can also see that the
wght
axis has a minimum value of 400 in the Italic and 300 in the Roman.As far as I can see, the Roman and Italic Glyphs files are identically set up, except from the Italic having a hidden Italic axis set to 1.
If you want to see the files then they are here: https://github.com/clauseggers/Playfair/tree/master/sources
The text was updated successfully, but these errors were encountered: