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 8367005
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:03:16+00:00 2026-06-09T13:03:16+00:00

While looking at some official Windows8/Metro material, I see this line of xaml: <TextBlock

  • 0

While looking at some official Windows8/”Metro” material, I see this line of xaml:

<TextBlock Text="Contoso Cookbook" FontFamily="Segoe UI" FontWeight="SemiLight" FontSize="26.667" />

What?!? A font size of 26.667? I realize this is 2/3rds of 40, and 5/6ths of 32, so maybe there’s some conversion thing happening there, but is this going to be the preferred way of setting font sizes, and if so, what are the guidelines for coming up with these seemingly random sizes?

  • 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-09T13:03:18+00:00Added an answer on June 9, 2026 at 1:03 pm

    There are pre-defined Windows 8 styles, located in your project in Common\StandardStyles.xaml. Take those as the standard.

    The size you are talking about belongs to SubheaderTextStyle.

    Here is why you get the “weird” size. If you look at the typography guidelines, you see the values in points. However, in XAML you specify the font size in pixels. Sample to go with: 96 PPI (pixel-per-inch) display. In 1 inch, you get 72 points. Doing simple math:

    96 pixels per inch / 72 points per inch = 1.(3) pixels/point
    

    So, 26.667 / 1.(3) ~ 20pt

    This way, you are getting a consistent font size.

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

Sidebar

Related Questions

While looking through some old code I came across this gem: MyObject o =
While looking at some conceptual questions in C,I came across this question in a
While l was looking over some questions about MEF, I stumbled onto this particular
While looking at some source code I found this: require[./helpers] = new function() {...};
While looking at scala.collection.mutable.SynchronizedStack I've noticed that synchronized used differently, some methods use synchronized[this.type]
While looking at some questions on optimization, this accepted answer for the question on
While looking through some example C code, I came across this: y -= m
While looking through some code (javascript), I found this piece of code: <script>window.Bootloader &&
while looking at some code I stumbled onto: throw /*-->*/new std::exception (//... and I
I haven't done any swing programming in a while, so I'm looking for some

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.