Visual C++ 6.0字体美化

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。


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值