I use custom font:
myTypeface = Typeface.createFromAsset(getAssets(), "fonts/myfont.ttf");
Depending on screen size I calculate font size as mySize variable. I use
editText.setTypeface(myTypeface);
editText.setTextSize(mySize);
Size is correct on 1024*600, 640*480 devices, but text height is big on 800*480 device. So calculated mySize does not work. It shows bigger text. I suspect that I can use only certain sizes such as 10,14,20,25,etc And calculated mySize is not supported sometimes. But I don't know which sizes are available for my font. So what should I do to show my page on different devices correctly. Thanks!