Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8831189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T08:15:20+00:00 2026-06-14T08:15:20+00:00

I’ve had a problem where making the font weight of some text Bold made

  • 0

I’ve had a problem where making the font weight of some text Bold made it smaller than the Normal font weighted text. I’ve worked out that this is because I’ve got the TextFormattingMode set to “Display”; the problem doesn’t occur if the TextFormattingMode is set to “Ideal”.

For example, the following code:

 <Label FontFamily="Calibri" FontSize="12" FontWeight="Bold" Content="This is some test text" TextOptions.TextFormattingMode="Ideal"/>
 <Label FontFamily="Calibri" FontSize="12" Content="This is some test text" TextOptions.TextFormattingMode="Ideal"/>
 <Label></Label>
 <Label FontFamily="Calibri" FontSize="12" FontWeight="Bold" Content="This is some test text" TextOptions.TextFormattingMode="Display"/>
 <Label FontFamily="Calibri" FontSize="12" Content="This is some test text" TextOptions.TextFormattingMode="Display"/>

Produces the following:

Results of XAML when running

If I up the font size to about 14 for the last two labels the bold text becomes larger than the normal weighted text.

My question is: is there a setting I can use to have 12 point bold text with the TextFormattingMode set to “Display” that is the same size / slightly larger than than the normal weighted text?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T08:15:22+00:00Added an answer on June 14, 2026 at 8:15 am

    The problem is not that the bold text is too short, it is that the normal text is too long.

    There’s history behind this, WPF originally shipped at .NET 3.0 supporting only the “Ideal” mode for scaling text. This mode supports true resolution independent text scaling, a line of text will have a predictable length in inches on various display devices with different dots-per-inch resolution. This was not received well, it caused massive complaints from WPF programmers that didn’t like the blurry text that this produces. This is visible in your screen-shot. Note how the left stem of the bold letter m is too fat in Ideal mode but not in Display mode.

    At .NET 4.0, the WPF team supported a new way to render text, called “Display”. Which renders text the way GDI does it, applying font hinting rules to tweak the letter shape so it coincides better with the pixel grid of the monitor. This tends to stretch the letters, especially when their stem only has a single pixel. The smaller the point size, the more pronounced this becomes. The text is highly readable because of it, but true resolution independent rendering is lost.

    Winforms also went through a similar evolution, from Graphics.DrawString() to TextRenderer.DrawText().

    This blog post from the WPF team has the details.

    The answer to your question is thus No.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For some reason, after submitting a string like this Jack’s Spindle from a text
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I've tracked down a weird MySQL problem to the two different ways I was
I have a text area in my form which accepts all possible characters from
I am currently running into a problem where an element is coming back from
I have a reasonable size flat file database of text documents mostly saved in
I'm working with an upstream system that sometimes sends me text destined for HTML/XML

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.