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

  • Home
  • SEARCH
  • 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 3431048
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T07:16:42+00:00 2026-05-18T07:16:42+00:00

The code is pretty much straightforward: <TextBlock TextAlignment=Center Text={Binding TimeAgo} Foreground=White FontSize=12 FontFamily=Calibri Background=Transparent/>

  • 0

The code is pretty much straightforward:

<TextBlock TextAlignment="Center" Text="{Binding TimeAgo}" Foreground="White" FontSize="12" FontFamily="Calibri" Background="Transparent"/>

As far as I know, WPF has native support for Calibri font. However, the font renders differently on XP and on Vista/7:

XP:
alt text

Vista:
alt text

My main issue is with the font’s size (It renders bigger on XP) since I have dedicated, limited space for the text.

I am currently using UseLayoutRounding=”True” but removing it didn’t make any difference. I’m also using:

<ResourceDictionary Source="/PresentationFramework.Aero, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=MSIL;component/themes/aero.normalcolor.xaml" />

But removing it also didn’t make any difference (In terms of the font’s size).

  • 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-05-18T07:16:42+00:00Added an answer on May 18, 2026 at 7:16 am

    WPF does not have native support for any font, it can only use the fonts installed on the machine.

    The bigger text is not Calibri (it looks like Arial or Tahoma to me), you can look at the shape of the “g” to see those are not the same font.

    You can only use Calibri on XP if you or another software (like Office 2007 or later) installed it first.

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

Sidebar

Related Questions

Title pretty much sums it up. The external style sheet has the following code:
Pretty much what the title says really. We have some code that is .NET
Pretty much as the question asks. Answers preferably in pseudo code and referenced. The
I use Visual Studio's Code Snippet feature pretty heavily while editing c# code. I
I just came onto a project with a pretty huge code base. I'm mostly
I am pretty sure the following button-activated form code should raise a Control-F12 in
Im trying to get pretty.js to prettify code in CODE tags, using this js:
Python is pretty clean, and I can code neat apps quickly. But I notice
I have a pretty basic windows form app in .Net. All the code is
Pretty all in question... I'm looking for batch script, code or library which allows

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.