Paint.getTextWidths. What is advance width?
问题 What is advance width? The term comes up in the android class Paint , specifically the function getTextWidths() . The documentation states “Return the advance widths for the characters in the string” . what is the “advance widths?” 回答1: Advance Width is a metrics term related to fonts/typography. There are some Q&A's here on SO that cover it, but the short definition is more or less: The advance width is the distance between the glyph's initial pen position and the next glyph's initial pen