I’m currently working on a typeface where the italic style is not a conventional italic or slanted version, but rather a rotation of the glyphs themselves, with some glyphs rotating up to 45°.
I’d love to implement this as a variable font axis, allowing a smooth transition from 0° to 45°.
However, I’m running into interpolation issues. Even with four masters along the axis, glyphs change size or behave unpredictably during the transition. I think I understand why this happens, as rotating the outlines changes their geometry and bounding boxes, but I’m wondering if there’s a way to approach this differently.
Is it possible to create a variable font axis that smoothly rotates glyphs from 0° to 45° while maintaining consistent size and proportions throughout the interpolation? Or is there a recommended workflow in Glyphs to achieve this kind of effect?
Any suggestions or examples of similar approaches would be greatly appreciated. Thanks!
What you’re running into is a classic problem of linear point interpolation. Basically, when you interpolate between two points in a standard variable font, a point in one master will move on a straight line to its position in another master. This is not what you want, though, since you’re looking for it to travel on a curved path.
Cue Higher Order Interpolation (HOI). This is a whole world in and of itself, so I encourage you to dig into this and learn about how this can work for you.
In Glyphs 4, there is a HOI tool, but the documentation is still in the works.
Bottom line: What you want to do is technically possible, but a lot of work. I don’t know whether there is maybe a Python API for the HOI tool in G4 that could speed up the process.