跳到主要内容

💰 DisableFontSmooth 关闭平滑字体

🎯功能​

关闭当前系统的屏幕字体平滑和ClearType功能

📜语法​

结果 = dm.DisableFontSmooth()

📥参数​

无

📤返回​

整型数, 0为失败, 1为成功.

💡示例​

if dm.CheckFontSmooth() = 1 then
if dm.DisableFontSmooth() = 1 then
MessageBox "关闭了当前系统平滑字体,重启生效"
dm.ExitOs 2
Delay 2000
EndScript
end if
end if

📘备注​

提示

关闭之后要让系统生效,必须重启系统才有效.