阅读背景:

获取字体的最大高度

来源:互联网 

So I have an NSFont, and I want to get the maximum dimensions for any characters, ie. the pitch and letter height. [font maximumAdvancement] seems to return an NSSize of {pitch, 0}, so that's not helping. Bounding rect doesn't seem to work either, and the suggestion from So I have an NSFont, and I want to get the maxi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: