-
Notifications
You must be signed in to change notification settings - Fork 52
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
[Glyphs3] support alternate layers #715
Comments
Update: using this branch, I confirm it works with intermediate layers (build+interpolation). I can't confirm for alternate ones. |
Update: when using format 3 and this main branch of GlyphsLib, I confirm the font builds if it has alternate layers, but the interpolation of the said glyphs (with alternate layers) don't work. |
This is a test case for @simoncozens. |
Thank you! |
My branch of Literata has sources with alternate layers for next step:
This is a minimal test-case: A: no layers |
OK. Thanks for this; that's perfect for working on. Now I have to work on it... @madig @belluzj, as you know, my interest is in using glyphsLib for font compilation, for which we don't need round-tripping between UFO and Glyphs. I am happy to provide a PR which implements multi-axis alternate layers for G3. I am not interested, at this stage, in making that round-trip from UFO to Glyphs; it isn't something I need, and things are going to be mind-bendingly complicated enough without having to worry about doing it all again backwards. So: Do you need G3 alternate layer round-tripping? If so, are you prepared to implement it? Will you approve a PR which provides G3->UFO alternate layers but not the other way around? (This is basically another symptom of #680.) |
I think it's fine if at least initially we only support these when glyphs -> UFO. |
Ok with me, we can add more support later. |
I have something which works for everything apart from D. The problem is that we split the bracket rules into separate buckets for forward and reverse rules, and D is a forward rule in parts and a reverse rule in parts. I think the solution is to get rid of the concept of "reverse brackets" - I guess that doing that would probably also help us be able to implement rules which have both a min and a max range - but I am not really sure whether knocking down that wall will make the whole building collapse. Draft PR at #767. |
I removed the backwards bracket layer rules in Glyphs 3. Too complicated. What I do now in cases where one would use a backwards bracket ( |
Hello! I have a file where some glyphs have three values in the alternate layer. So I tried to find another solution, by adding alternate glyphs and make the substitution directly with the rvrn feature. But now I have this error message:
Adding a "name" block in the feature from Glyphs had no impact, but maybe I do something wrong, any idea? Here is the test file: Thanks! |
An error is reported when building a font with Alternate layers. Error reported: Alternate layers are used here to receive the Cursive shapes (two-stories a -> schoolbook a) instead Test file ( |
I have it also:
the weird thing is that I already managed to export once, the error only appeared recently Files: https://github.com/emmamarichal/Playfair/tree/master/sources I'll dig a bit more to see if I didn't do any mistakes |
Glyphs 3 supports alternate rules for all axes. So this is a remnant from Glyphs 2 times. |
I fixed this in November. Problem is, the last glyphsLib release was in October. |
we shall make a new release soon (by end of this week) |
Font doesn't build if has alternate layers.
Easy to go back to format 2 using intermediate layers, but not for alternate ones.
I'll try to find a test case in Google Fonts and link it here.
The text was updated successfully, but these errors were encountered: