You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had the idea of having Layer and Glyph cooperate to check that inserting, modifying and removing components ensures that we never end up with dangling components. glifparser has code for handling. Need to investigate:
Does it add value?
Should it be used for UFO loading or just for the programmatic API? When loading UFOs, how to handle glyphs that exist but aren't added yet?
Are there situations where you'd need an unchecked way of messing with components?
The text was updated successfully, but these errors were encountered:
Hm... not a blocker, no. I was thinking of Glyph::add_component_checked(&mut self, component: Component, layer: &Layer) but then you could pass in the wrong layer. Needs more thinking (and checking what MFEK stuff is doing).
I had the idea of having
Layer
andGlyph
cooperate to check that inserting, modifying and removing components ensures that we never end up with dangling components. glifparser has code for handling. Need to investigate:The text was updated successfully, but these errors were encountered: