It is planned in the next big update to implement something like this:
A way to link a node or segment to an anchor, plus some instructions to always update the anchor’s position? I think I already read something about a similar concept in the forum, but cannot find.
Plus, I have a question: Is there a syntax to add some text in an anchor name that is ignored by glyphs (like a comment)?
I know, but I was wondering if it was possible to set a text in anchor name ignored by glyphs.
I will try to make a plugin to do what I want, and will be really helpful if I could use anchor name to specify some rules instead to use anchor.userData
To make the anchor name work in that way would mean to change almost all code that handles anchors. We are trying to move away from using names to store data (e.g. with the layer attributes that where stored in the name before).
I would suggest to make a custom sidebar property view (like the one for context anchors) to allow input of the extra info and draw that alongside the anchor name
That’s super cool. It would be nice if you could visualise which nodes the anchor is referring to, like arrows in TT hinting. Also, there may be a use case for simple calculation (e.g. +10 from node, or 30% on the left rather than dead centre).
Cool, I think it would make more sense to let the arrows flow from the anchor to its nodes instead of between the nodes. Because that’s basically the connection you create.
That way it’s also more clear if the anchor is farther away from its nodes (like if you have that vertically-middle-ish anchor in the /l)
The curvy line feels strange. Seems like it should be some sort of straight line between the nodes with maybe a tick to represent at which point the anchor is aligning to.
centerX
•----|----•
I imagine the syntax would had some basic math functions like