Oooh, here’s a good tip for dealing with the layout issues you’ve very likely noticed if you embed fonts hunted down from the wild Internet into your app:
Custom iOS fonts and how to fix the vertical position problem
Most of the custom fonts i’ve used usually have some issue with their vertical alignment. Either they sit too low or too high when compared to the default fonts. This poses a lot of problems and makes it quite difficult to get things aligned properly. The cause of this is that your custom font has an ascender and descender settings which are not being rendered properly by iOS…
… To edit these in the font you will need to download the Apple Font Tool Suite. Once you’ve installed this you need to open Terminal and navigate to the directory that contains your font. After that enter the following command:
Managed to completely overlook the existence of these until now, though they’ve apparently been around for over a decade. Look pretty handy for mucking around with oddly behaving fonts, they do!
h/t: @romainbriche!
JUL