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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T21:07:49+00:00 2026-06-09T21:07:49+00:00

I am reviewing image generation code that uses FontFamily.GenericSansSerif from the system.drawing namespace. I

  • 0

I am reviewing image generation code that uses FontFamily.GenericSansSerif from the system.drawing namespace. I typically see code like that at the tail end of xhtml/css font selection statements as a fall back / last resort if a more desireable (specific) font is not discovered. In the .net framework, what are the environmental parameters that will affect which font this actually selects? Is there some sort of chart out there that states how the .net framework selects the font when you specify GenericSansSerif?

  • 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-09T21:07:50+00:00Added an answer on June 9, 2026 at 9:07 pm

    In terms of GenericSansSerif, it will try to return the family from the following fonts by name “Microsoft San Serif”, “Arial”, “Tahoma” in that order. If none of those fonts are installed, it appears it picks the family of the first installed font, ordered by name.

    In terms of GenericSerif, it tries to return the family from the font named “Times New Roman”. If that isn’t installed the same rules as GenericSanSerif are used. i.e. if you remove the “Times New Roman” font, it’s the same as calling GenericSanSerif.

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

Sidebar

Related Questions

In reviewing the code of an App, I see that it uses the background
Reviewing some code that contains a bunch indirectly nested transactionscopes. I would like to
I'm reviewing some code from one of our contractors: if (userLists != null) {
When reviewing code I came across something odd, someone had read that you can
Upon reviewing a bunch of MVC style web applications, I'm noticing that it's common
When reviewing on different OS's, I noticed that particularly in Chrome and Safari, words
I'm reviewing some code on the project I recently joined, and in a C#
I was just reviewing one of my client's applications which uses some old outdated
While reviewing some code used in the online CS188.1x class on edX.org (code written
Reviewing our code I've found a curious definition in one of .idl files: [

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.