-
Notifications
You must be signed in to change notification settings - Fork 9
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
Generated instances/fonts lose stacked nodes #35
Comments
Yes, it was an optimisation in mathGlyph from long ago. The filtering can be switched off, but it is quite deep in the stack in If you want to tinker, this is where to dig: ufoProcessor/Lib/ufoProcessor/__init__.py Line 861 in cb25302
This calls fontParts: You see mathGlyph can be called with a Mind you, this is untested and I may have overlooked something. Also, it may expose new compatibility issues in your geometry that are hidden by mathGlyph doing this. Ideally, it should be abstracted as a single flag that would switch this behaviour off. But that means changes to ufoProcessor as well as fontParts. |
Hey, thank you for your quick and detailed replay! which leads to: and the Thank you, if you come to any solution please let me know! So far I will leave the issue open, if you see that this is not going to be fixed in some foreseeable future, please close it :) |
Just being curious... If this is a known problem or desired effect - what other solution (library) would you recommend me for generating my masters with stacked nodes intact so i keep compatibility. I understand that |
You're right to raise the issue. It's a bit of a hassle as it touches a couple of packages. But it needs to get done somehow. I can't guarantee this will get a response that fits with your release schedule though.. |
OK, i have solved this situation for me, by adding names to the temporary generated offcurve points in Then i let the To me this seems like a very reasonable solution if they want to keep the current practice of adding new nodes to cover compatibility problems.... Like discussed here. Will offer it as solution, who knows they might like it :) |
Hi, I am using your great library into several build tools for a project that i am working on. And i love it :)
I am facing the following problem: my project has many layers/masters (only three are shown below) where nodes that shape curves on some masters (soft/round corner) are kept stacked on others (sharp corner).

I am using your library for some CLI tools to generate "synthetic" masters from predefined instances and then use the resulting UFOs for VF generation (utilizing FontMake).
It seems that generating new instances removes the off-curve points between stacked nodes, thus the newly made masters lose compatibility. Is there a workaround or solution to avoid this. This all looks as optimization of some sort, but by looking at your code i see no option for turning that on/off... or actually anything that could cause this "problem"... Any suggestions are welcome.
Thank you in advance!
The text was updated successfully, but these errors were encountered: