Microsoft KB Archive/105299

{|
 * width="100%"|

INFO: Creating a Font for Use with the Console

 * }

Q105299

3.10 3.50 3.51 4.00 WINDOWS NT kbgraphic

-

The information in this article applies to:


 * Microsoft Win32 Application Programming Interface (API), used with:
 * Microsoft Windows NT Server versions 3.5, 3.51, 4.0
 * Microsoft Windows NT Workstation versions 3.5, 3.51, 4.0
 * Microsoft Windows 95

-

SUMMARY
It is possible to use FontEdit to create a font that can be used by the console. The following must be true:


 * The face name must be System, Terminal, or Courier
 * The font size must be different from any of the other console fonts
 * The font must be fixed pitch
 * The font must not be italic
 * The font must be an OEM character set.

In addition, in the U.S. market, the font should support codepage 437.

Install the font from the Control Panel. After rebooting, the font will be available to the console.

An EnumFonts call is made by the console during its initialization to determine what fonts are available. The console saves a set of one-to-one mappings between the font sizes listed and a set of LOGFONTs. The console never has direct knowledge of what file is used.

Additional query words: 3.10 win95

Keywords : kbOSWinNT350 kbOSWinNT351 kbOSWinNT400 kbSDKWin32 kbOSWin95 kbDSupport

Issue type : kbinfo

Technology : kbAudDeveloper kbWin32sSearch kbWin32API