怎么计算一个字符的宽度(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