Take the 2-minute tour ×

I noticed in my WPF Application that some numbers are a little bit shorter than others. I used the Arial Font. The Numbers are 1,2,4 and 7. enter image description here Is there a possibility to get every number to the same level?

share|improve this question
This is an intended behaviour of the font, because the rounded bottoms of e.g. 3 seem to be slightly higher than the flat bottoms of e.g. 1. Therefore, they need a visual correction (moving them slightly downwards). –  Nico Schertler Feb 1 '13 at 12:54
@Nico, you should make this an answer. –  Јοеу Feb 1 '13 at 13:00
add comment

1 Answer

Fonts are visual elements. Therefore, they don't have to be mathematically exact but they have to look good. One thing that helps fonts looking good is a consistent visual base line.

A rounded edge of a character appears to be slightly shorter than a flat edge, even if the bounding box is the same. That's why rounded edged at the bottom line are usually extended slightly to give the appearance of a consistent base line.

The top edges are probably not that important for the readability and look of a font. I assume, that's why the top edges are not extended similarly.

share|improve this answer
And the answer to the question is? –  antonijn Feb 1 '13 at 13:20
I understand that argument if you use Numbers with a small FontSize. My Problem is that i want to display big Numbers on a 27 Inch display. –  Bulli Feb 1 '13 at 13:20
@Bulli It should work even with big numbers. Of course, you should not display a ruler underneath. Or is the height difference that obvious? –  Nico Schertler Feb 1 '13 at 13:45
This is the intended Size i want to see in my applicatiion. The Height different is even without the rulers too obviously :-/ –  Bulli Feb 4 '13 at 6:17
add comment

Your Answer


