Open typesupply opened 4 months ago
We could consider to add group support to the syntax. I know this would screw things up.
see also the Fencer by @Lorp, currently under development, which supports the more complex avar2 mappings
this is fantastic!
@LettError what should group support do?
How are you thinking of recording groups in the XML? My current preference is to use name="myGroup"
mimicking HTML’s name
attribute.
Nothing complicated. The names listed in the rule could be @groupname and then hope that the group is defined in the font.groups
I’m talking about mappings being assigned groups, according to function, such as all the mappings to fence off an area. In a UI, groups could be activated/deactivated, visible/invisible, differently coloured, and so on. @LettError is that the same as what you are talking about?
It would be nice if there was a visual display of the mapping rules similar to the diagrams in the avar documentation. This would be helpful for seeing the movement of the mapping, looking for unnecessary steps, etc. It would be even nicer if this visual display was interactive. It would be even more nicer if this synced with the text editor. Well, I have implemented this feature in a fork here.
Graph Documentation:
Note: I had to rewrite the parser so that comments will be preserved during editing via the graph.
If this is something you'd like, I will fix any issues (I know of one at the time of this writing), move the lines of code to the appropriate places and create a PR for your consideration.