fonttools-intro
fonttools-intro copied to clipboard
How to move paths from glyph to glyph
Hi @arrowtype, thanks so much for the intro & sample code, it really helps a lot!
I'm also trying to make a "trial font" but with a different strategy: mix up glyph drawings, then resubstitute them with an OpenType feature (e.g. a stylistic set).
I'm trying to use fonttools to flip around the a & z glyph paths.
I have managed to convert the font to a Python object with ttLib.TTFont, but am struggling how to access and modify the glyph vector data.
Many thanks!
Hey, so sorry I missed this issue for literally years!
Did you ever figure it out?
I think you could swap just the references in the glyf table, maybe... that is just an initial guess, though.