I'm doing some experimentation in preparation for a variable font I'm working on, and I've run into an issue.
I want one axis of the variable font to morph the sides of the letters from straight to curved – i.e. transition from rectangles to blobs. My assumption is that, to ensure compatibility between masters, any nodes that will have handles in one master must have handles in the others. So here is what I'm doing, for example, with the top of the H:
In Glyphs and FontGoggles this produces no issues – everything works smoothly with no weird kinks. However, in InDesign I'm getting this little dent:
Some troubleshooting information:
- The issue only appears in the variable font; non-variable TTF and OTF versions render normally in InDesign
- The dent only appears at certain sizes – neither particularly small, nor particularly large – you can see in the image above that there are plenty of pixels to go around, so I'm not convinced it's a hinting issue
- The dent disappears if I delete the handles that run along the top line – but then I have compatibility issues
- Adding nodes along the top line doesn't make any difference
- Splitting the stem right down the middle, into two separate shapes, does eliminate the problem
- When I export from InDesign to PDF, the dent disappears
- My version of InDesign is rather old – 2020 – and I've heard there were errors with rendering variable fonts pre-2021, so it could be that
My question is: Is there a "correct" way to draw this sort of outline? Something I'm missing? I can't think of any other way to get the results I'm looking for.