Note that there are some explanatory texts on larger screens.

plurals
  1. PODo I need to worry about worldwide fonts in my Winforms app?
    text
    copied!<p>I want my software available to a worldwide audience, and so am a bit concerned about fonts used in my program's GUI (Winforms, .NET3.5, C#).</p> <p>Let's assume I choose "Microsoft Sans Serif" for everything (size 9 I've heard <a href="https://stackoverflow.com/a/7045886/848344">https://stackoverflow.com/a/7045886/848344</a> is better than the default 8.25 size for some reason). Now, I understand that 'fallback' fonts are used automatically when the character isn't available in Microsoft Sans Serif. So a block of text that's supposed to be just "Microsoft Sans Serif" may simultaneously also use "Arial Unicode MS" and "SimSun-ExtB". These three fonts seem to cover most of the bases.</p> <p>Unfortunately, some systems may lack one or more of these fonts (or not have the latest version). For example, Arial Unicode MS is only supplied with Office. Also, WinXP (no SP) only supports Microsoft Sans Serif - <a href="http://www.microsoft.com/typography/fonts/font.aspx?FMID=844" rel="nofollow noreferrer">v1.33</a>, whilst XP SP2 uses <a href="http://www.microsoft.com/typography/fonts/font.aspx?FMID=1130" rel="nofollow noreferrer">v1.41</a>, and Vista/Server 2008 has <a href="http://www.microsoft.com/typography/fonts/font.aspx?FMID=1599" rel="nofollow noreferrer">v5.00</a>. Later versions of Microsoft Sans Serif offer improved Cyrillic, Latin and Arabic support.</p> <p>However, do I need to worry about this? Can I assume that either these type of users will have upgraded to at least XP SP2 or failing that, have a font which Winforms can fall back to which supports any missing characters? Surely if my program goes wrong for them, then ANY program would also be wrong for them, so maybe they have the appropriate fonts (including ones I haven't listed) that Winforms will fall back to anyway?</p> <p>In summary, can I just use Microsoft Sans Serif (size 9) in a Winforms app, and not worry about worldwide font support (due to the automatic font fallback) if I want to cover at least 90-95% of users (home and business)? Bear in mind, things don't have to be perfect, as my app is more of a read/display type of app rather than an editing one, though maybe any answer could cover both cases for other people who need extra accuracy.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload