locked
In TextBoxes, why is "Arial" narrower than "Arial Narrow"?

    Question

  • This seems to be a recent problem, as a customer reported it had changed since our last update.

    When I create a TextBox using the font Arial, the text is actually really narrow.

    When I create a TextBox using the font Arial Narrow, the text is less narrow.

    That is, the following XAML:

    <StackPanel>
    	<TextBox FontFamily="Arial" Text="Arial is here. This is not supposed to be narrow"/>
    	<TextBox FontFamily="Arial Narrow" Text="Arial is here. This is supposed to be narrow"/>
    </StackPanel>

    Produces the following layout:

    Note, this is also happening to RichEditBox, but TextBlock is fine.

    Is this a recent problem, and is it something you are aware of?

    Best Regards,

    Tomas Hofmann

    Friday, October 31, 2014 5:07 PM

Answers