Thursday, 21 March 2013

Android ems

It is the width of the letter M in a given english font size. So 2em is twice the width of the letter M in this given font. In font differ from english it is the width of the widest letter in this font, this width is different size in pixels then the width size of the M in the english font but it is still 1em. So if I use text with 12sp in english font 1em is relative to this 12sp english font, using Italian font with 12sp gives 1em that is differ in pixels width then the english one.

No comments:

Post a Comment