Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1681144
  • 博文数量: 584
  • 博客积分: 13857
  • 博客等级: 上将
  • 技术积分: 11883
  • 用 户 组: 普通用户
  • 注册时间: 2009-12-16 09:34

分类: WINDOWS

2011-04-18 17:32:43

Necessary criteria for fonts to be available in a command window
Summary:
For fonts to be available for use in a command session (Cmd.exe) window (on the Fonts tab in the CMD Properties dialog box), the fonts must meet certain criteria.

More Information:
The fonts must meet the following criteria to be available in a command session window:
  • The font must be a fixed-pitch font.
  • The font cannot be an italic font.
  • The font cannot have a negative A or C space.
  • If it is a TrueType font, it must be FF_MODERN.
  • If it is not a TrueType font, it must be OEM_CHARSET.
Additional criteria for Asian installations:
  • If it is not a TrueType font, the face name must be "Terminal."
  • If it is an Asian TrueType font, it must also be an Asian character set.
In Windows 2000, the installation of Console Fonts is no longer automated. This was done to give the console window greater stability in multilanguage environments. An unsupported work around is available by adding the following font specific entry:
Add a String Value
Name=00
Data= "Font Name" (without "")
Into the following registry:
HKLM\Software\Microsoft\WindowsNT\CurrentVersion\Console\TrueTypeFont
The name needs to be incrimented with "0" for each additional font. The Data entry needs to match the font's entry in the following registry location:
HKLM\Software\Microsoft\WindowsNT\CurrentVersion\Fonts

=====================================================
想把字体改成微软雅黑,没成功。

简体中文要加那个0936,00936.....,而且必须是中文等宽的(比如幼圆)。0, 00等只能用于437之类西文字符集。
阅读(1499) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~