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
A few examples of what this would allow other scripts to potentially do:
Know if a glyph is a glyph constructed glyph or not, in case they either wanted not target or target constructed glyphs
Allow piecemeal re-construction, for example using an event to trigger a re-construction of just a few glyphs if a base glyph's sidebearings are changed without having to go back into the extension (even if the glyph was decomposed with *)
A way to customize "autoUnicodes()" in a way, since the equation is explicit in what the user wants the unicode to be
... And many more! (maybe)
The only hitch I can see is user-defined variables... I can see it working maybe 2 ways? Of course the Glyph Construction constants like descender, xHeight etc won't be touched, but we could expand the variables to put in the equation, or store the variable in the font lib.
to keep a reference in the glyph lib is a good plan!
one issue I see is that this lib key is not something to keep in sync, its is just a reference where the components originally came from. If a designer adjust components manually, the construction will be out of sync.
I like the second option to keep the variable in the font.lib
In the extension this could be an optional flag: Store construction in lib.
Hi @typemytype,
I have been thinking for some time it might be nice to have the equation to build a glyph constructed glyph saved in the glyph's lib, like so:
A few examples of what this would allow other scripts to potentially do:
*
)... And many more! (maybe)
The only hitch I can see is user-defined variables... I can see it working maybe 2 ways? Of course the Glyph Construction constants like
descender, xHeight
etc won't be touched, but we could expand the variables to put in the equation, or store the variable in the font lib.becomes
or
If you like this idea, I could make a PR.
Thanks!
The text was updated successfully, but these errors were encountered: