-
Notifications
You must be signed in to change notification settings - Fork 51
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
Intermediate/brace layers are not supported anymore #741
Comments
I can't reproduce this. I get the same sources as you do in the designspace file, and the font builds fine with fonttools==4.27.1 both using fontmake and gftools-builder. |
I updated gftools again today and I can't reproduce anymore neither. |
Ah no, doesn't work if I install the main branch of fontmake and glyphsLib. |
I’m having the same issue weiweihuanghuang/Work-Sans#67 (comment) |
I am having the same issue with fontmake 3.1.2. |
This issue is blocking the CI builds in multiple repositories, I have complains from several designers. |
Sorry. I shall look at this today. |
I'm being an numpty. Reproduced it now. Working on it... |
OK, the problem is in the "minimal" build idea. |
thanks @simoncozens!
First I though it was because the intermediate layer was sharing the same location as the Regular instance, so I changed the location, but then I found a conflict between the layer's name and the actual location of the brace layer (cf video).
If I rename the layer with the same value as the brace layer location, it works. Boh it is annoying but solvable, just wanted to report in case people have the same issue. Enregistrement.de.l.ecran.2022-01-25.a.15.17.05.mov |
@RosaWagner @simoncozens this is because in Glyphs 3, the location of a brace layer or alternate glyph is no longer in the layer’s name but a layer property. See https://docu.glyphsapp.com/#GSLayer.attributes |
What’s the status? |
the issue described in this comment #741 (comment) is still happening. @simoncozens shall we re-open that issue? |
Yes please! This is so annoying. |
Can we make this priority, a lot of projects need intermediate and alternate layers. |
I'd also like to know what's the status of this issue. @simoncozens earlier said he could repro and that the problem was 'in the "minimal" build idea.' |
Sorry, I'll try and take another look at this tomorrow. Obviously I thought I had fixed it. I suspect there's another issue that I haven't cracked. @RosaWagner is League Spartan still a good test case? Or shall I look at building Work Sans? |
We probably fixed the layer names, but I see an attachment to my first comment, it is probably the buggy version |
I think it was about Playfair Display, that has on some letters, 3 values in the brace layers |
I think with the current architecture it is very difficult to support alternate layers with both start and end stops. |
Hello,
But it didn't export properly and I got this error: To avoid that:
I hope it will help if someone has the same kind of issue! |
In the file from the first part, can you right click the default layer in the layer panel and see if the 'Alternate' is still checked? If so, uncheck it. Otherwise, can you send me that file? |
One thing that might cause the error is that the values in the "axisRules" settings in the layers are stored as string. So it might need an |
Thanks @simoncozens! |
Hi @simoncozens, However, I have this error for the italics, I think it has to do with some ligatures (pink glyphs in the sources). I'm on it since yesterday, I can't seem to solve it. Do you have any idea where this problem is coming from?
Thanks! |
That shouldn't happen! I'll have a look. |
OK, I've fixed the presenting problem, but there is still something not quite right here as the font is now failing compatibility checking; the layers look fine in Glyphs, but maybe when we work out the alternates one of layers has ended up in the wrong conditionset or something like that. |
Ok great, I'll take a look, thanks a lot! |
I've found it. One of the layers does not have a name, so it is getting lost. But I am not sure bracket layers need to have names, since w make our own magic names for them. |
In which glyphs do you see that? I can't find it |
You can't see it because Glyphs hides the user-supplied names of alternate layers and replaces them with the description of the conditions - so you see "[5<oz<410,80<wd<150]" but actually internally the layer is called "30 Jan 22, 11:43" or something like that. And because of that you can't easily fix it in the UI. (You can fix it with scripting, I suppose.) So we should fix it by not skipping anonymous alternate layers. |
Aah ok I see, yes indeed we often had this problem.Thanks! |
For Glyphs 3 source, the layer names have no meaning any more and should be ignored. |
https://github.com/emmamarichal/league-spartan
fontmake.errors.FontmakeError: In 'LeagueSpartan.glyphs' -> 'master_ufo/LeagueSpartan.designspace': Generating fonts from Designspace failed: '{500}'
I don't know at which commit exactly the change occurred though. Maybe it's not even glyphsLib the issue.
sources.zip
The text was updated successfully, but these errors were encountered: