Microsoft KB Archive/246780

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 13:50, 21 July 2020 by X010 (talk | contribs) (Text replacement - """ to """)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


How To Set System Fonts

Article ID: 246780

Article Last Modified on 8/30/2004



APPLIES TO

  • Microsoft Windows CE Platform Builder 2.11
  • Microsoft Windows CE Platform Builder 2.12



This article was previously published under Q246780

Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry


SUMMARY

To set a different system font you must modify the registry to reflect the settings you want.

MORE INFORMATION

Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

The system font is set through the following registry key:

[HKEY_LOCAL_MACHINE\SYSTEM\GDI\SYSFNT]
        "Nm"="[name of font]"
        "Ht"=dword:[size, specified as an lfHeight]
        "It"=dword:[non zero for italic]
        "Wt"=dword:[weight specified as lfWeight]
                

There are several fonts used by the system that can be adjusted. Please see the Config.reg file for examples.

Keywords: kbhowto KB246780