I have two devices - HTC Tattoo and Sony Ericsson Xperia X10. One has 145 DPI, the other 245 DPI.
When I specify the font size for the TextView in points, for example:
textView.setTextSize(TypedValue.COMPLEX_UNIT_PT, 6.5f);
I get a different physical text size on these two devices. At 245 DPI, the text is barely readable.
Now the size of "pt" should be physical. Ie, in my test both text blocks should have letters of the same physical height. This is not true.
What could be wrong here?
Thanks for the help, Yuri.
source
share