none
怎么计算一个字符的宽度(How to calculate a character broadband) RRS feed

  • 问题

  • 我尝试了很多种方式去计算一个字符的宽度 ,但始终计算不出来。可能是跟一异步有关系,因为我在其他平台是能计算出来的。

    怎么根据字体,字体大小等信息计算出来一个字符在屏幕上面的显示宽度

    From Google Translate:

    (I tried a variety of ways to calculate the width of a character, but always calculated does not come out. With an asynchronous relationship, because on other platforms can be calculated.How calculated according to the font, font size and other information of a character in the screen above the display width)

    2012年8月1日 3:25

答案