1.安装Yahei Consolas Hybrid字体
可以从RapidShare 下载,加压,把*.ttf文件放到C:\WINDOWS\Fonts
2.下载ClearType 补丁,安装后会在控制面板里多一个ClearType设置
3.新建一个*.reg的注册表文件,内容为:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Devstudio\6.0\Format]
[HKEY_CURRENT_USER\Software\Microsoft\Devstudio\6.0\Format\Calls Window]
"FontFace"="Yahei Consolas Hybrid"
"FontSize"=dword:00000009
"Text"=hex:00,00,00,00,ff,ff,ff,00,13,01,b3,00
"Text Selection"=hex:ff,ff,ff,00,00,00,00,00,19,00,19,00
"Calls Highlight"=hex:00,00,00,00,00,ff,00,00,10,00,10,00
"Superceded code"=hex:80,80,80,00,ff,ff,ff,00,10,00,10,00
[HKEY_CURRENT_USER\Software\Microsoft\Devstudio\6.0\Format\Compliance]
"FontFace"="Yahei Consolas Hybrid"
"FontSize"=dword:00000009
"Text"=hex:00,00,00,00,ff,ff,ff,00,13,01,b3,00
[HKEY_CURRENT_USER\Software\Microsoft\Devstudio\6.0\Format\Disassembly Window]
"FontFace"="Yahei Consolas Hybrid"
"FontSize"=dword:00000009
"Text"=hex:00,00,00,00,ff,ff,ff,00,13,01,b3,00
"Text Selection"=hex:ff,ff,ff,00,00,00,00,00,19,00,19,00
"Assembly Code"=hex:80,80,80,00,ff,ff,ff,00,10,00,10,00
[HKEY_CURRENT_USER\Software\Microsoft\Devstudio\6.0\Format\EventPane]
"FontFace"="Yahei Consolas Hybrid"
"FontSize"=dword:00000009
"Text"=hex:00,00,00,00,ff,ff,ff,00,13,01,b3,00
[HKEY_CURRENT_USER\Software\Microsoft\Devstudio\6.0\Format\Memory Window]
"FontFace"="Yahei Consolas Hybrid"
"FontSize"=dword:00000009
"Text"=hex:00,00,00,00,ff,ff,ff,00,13,01,b3,00
"Text Selection"=hex:ff,ff,ff,00,00,00,00,00,19,00,19,00
"Memory Highlight"=hex:ff,00,00,00,ff,ff,ff,00,10,00,10,00
[HKEY_CURRENT_USER\Software\Microsoft\Devstudio\6.0\Format\Output Window]
"FontFace"="Yahei Consolas Hybrid"
"FontSize"=dword:00000009
"文本"=hex:00,00,00,00,ff,ff,ff,00,15,00,15,00
"文本选择"=hex:ff,ff,ff,00,00,00,00,00,19,00,19,00
"Yahei Consolas Hybrid/标记"=hex:ff,ff,ff,00,00,00,80,00,55,00,55,00
"书签"=hex:00,00,00,00,00,ff,ff,00,10,00,10,00
[HKEY_CURRENT_USER\Software\Microsoft\Devstudio\6.0\Format\Registers Window]
"FontFace"="Yahei Consolas Hybrid"
"FontSize"=dword:00000009
"Text"=hex:00,00,00,00,ff,ff,ff,00,13,01,b3,00
"Text Selection"=hex:ff,ff,ff,00,00,00,00,00,19,00,19,00
"Value Highlight"=hex:ff,00,00,00,ff,ff,ff,00,10,00,10,00
[HKEY_CURRENT_USER\Software\Microsoft\Devstudio\6.0\Format\Source Browser]
"FontFace"="Yahei Consolas Hybrid"
"FontSize"=dword:00000009
"文本"=hex:00,00,00,00,ff,ff,ff,00,15,00,15,00
"文本选择"=hex:ff,ff,ff,00,00,00,00,00,19,00,19,00
[HKEY_CURRENT_USER\Software\Microsoft\Devstudio\6.0\Format\Source Window]
"FontFace"="Yahei Consolas Hybrid"
"FontSize"=dword:0000000A
"文本"=hex:00,00,00,00,ff,ff,ff,00,13,01,b3,00
"文本选择"=hex:ff,ff,ff,00,00,00,00,00,19,00,19,00
"Yahei Consolas Hybrid/标记"=hex:ff,ff,ff,00,00,00,80,00,d2,01,b2,01
"书签"=hex:00,00,00,00,00,ff,ff,00,10,00,10,00
"断点"=hex:ff,ff,ff,00,80,00,00,00,10,00,10,00
"Yahei Consolas Hybrid"=hex:00,00,00,00,ff,ff,00,00,70,00,70,00
"选择边距"=hex:d4,d0,c8,00,d4,d0,c8,00,13,00,13,00
"关键字"=hex:94,00,D3,00,ff,ff,ff,00,10,00,11,00
"注释"=hex:FF,00,99,00,ff,ff,ff,00,10,00,11,00
"Number"=hex:A5,2A,2A,00,ff,ff,ff,00,10,00,11,00
"String"=hex:00,80,00,00,ff,ff,ff,00,10,00,11,00
"操作员"=hex:00,00,00,00,ff,ff,ff,00,11,00,11,00
"Wizard IDL/ODL Code"=hex:80,80,80,00,ff,ff,ff,00,14,00,15,00
"HTML Element Name"=hex:80,00,80,00,ff,ff,ff,00,14,00,15,00
"HTML Attribute Name"=hex:ff,00,00,00,ff,ff,ff,00,14,00,15,00
"HTML Attribute Value"=hex:00,00,ff,00,ff,ff,ff,00,14,00,15,00
"HTML Comment"=hex:00,80,00,00,ff,ff,ff,00,14,00,15,00
"HTML Entity"=hex:ff,00,00,00,ff,ff,ff,00,14,00,15,00
"HTML Tag Delimiter"=hex:00,00,ff,00,ff,ff,ff,00,14,00,15,00
"HTML String"=hex:00,00,ff,00,ff,ff,ff,00,14,00,15,00
"HTML Tag Text"=hex:ff,00,ff,00,ff,ff,ff,00,14,00,15,00
"HTML Operator"=hex:00,00,ff,00,ff,ff,ff,00,14,00,15,00
"HTML Server-Side Script"=hex:00,00,00,00,ff,ff,00,00,14,00,14,00
"User Defined Keywords"=hex:00,00,ff,00,ff,ff,ff,00,14,00,15,00
"Wizard Code"=hex:80,80,80,00,ff,ff,ff,00,14,00,15,00
[HKEY_CURRENT_USER\Software\Microsoft\Devstudio\6.0\Format\SourcePane]
"FontFace"="Yahei Consolas Hybrid"
"FontSize"=dword:00000009
"Text"=hex:00,00,00,00,ff,ff,ff,00,13,01,b3,00
[HKEY_CURRENT_USER\Software\Microsoft\Devstudio\6.0\Format\StackPane]
"FontFace"="Yahei Consolas Hybrid"
"FontSize"=dword:00000009
"Text"=hex:00,00,00,00,ff,ff,ff,00,13,01,b3,00
[HKEY_CURRENT_USER\Software\Microsoft\Devstudio\6.0\Format\Variables Window]
"FontFace"="Yahei Consolas Hybrid"
"FontSize"=dword:00000009
"Text"=hex:00,00,00,00,ff,ff,ff,00,13,01,b3,00
"Text Selection"=hex:ff,ff,ff,00,00,00,00,00,19,00,19,00
"Variables Highlight"=hex:ff,00,00,00,ff,ff,ff,00,10,00,10,00
[HKEY_CURRENT_USER\Software\Microsoft\Devstudio\6.0\Format\Watch Window]
"FontFace"="Yahei Consolas Hybrid"
"FontSize"=dword:00000009
"Text"=hex:00,00,00,00,ff,ff,ff,00,13,01,b3,00
"Text Selection"=hex:ff,ff,ff,00,00,00,00,00,19,00,19,00
"Watch Highlight"=hex:ff,00,00,00,ff,ff,ff,00,10,00,10,00
[HKEY_CURRENT_USER\Software\Microsoft\Devstudio\6.0\Format\Workspace Window]
"FontFace"="Yahei Consolas Hybrid"
"FontSize"=dword:00000009
保存,双击运行此文件,重新打开VC,就可以看到字体变得漂亮了,看我的截图,cool。