📜  修复自定义 iOS 字体的垂直位置问题 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:19.781000             🧑  作者: Mango

代码示例1
So this is a modified version of kolyuchiy's answer.

I opened my font with Glyphs, and then exported it without modifying anything. Somehow, magically, the vertical alignment issue was gone!

What's better is that the new font plays nicely with methods like sizeWithFont:, so it doesn't have the issues mentioned by Joshua.