rendering - Whether current character rendered width depends from previous character in Android -
i have question 1 android text rendering detail: whether current character rendered width depends previos character in android text renderer (for example in textview)?
for example if char 'x' have width equals x_w
, 'y' - y_w
, string "xy" have equals
x_w + y_w
?
some more details: point should measure strings quiсk possible. want measure once each letter (character) text using paint.gettextwidths(...) , jsut use work characters width.
depends on font. it's not assume, if want width of string, measure full string.
if absolutely need that, use monospace font.
Comments
Post a Comment