BenchWidth
V2EX  ›  问与答

关于系统平滑字体

  •  
  •   BenchWidth · Jun 29, 2020 · 2341 views
    This topic created in 2191 days ago, the information mentioned may be changed or developed.
    我想为我的应用程序单独更改字体平滑,而不是全局 Windows 字体平滑设置
    因为每次运行脚本都要去修改系统平滑字体很麻烦。
    7 replies    2020-06-30 14:11:39 +08:00
    billlee
        1
    billlee  
       Jun 30, 2020
    你开发的应用程序?还是你要用的?
    Szhi
        2
    Szhi  
       Jun 30, 2020 via iPhone
    换 4K 显示器
    BenchWidth
        3
    BenchWidth  
    OP
       Jun 30, 2020
    @Szhi 这和显示器没关系吧
    BenchWidth
        4
    BenchWidth  
    OP
       Jun 30, 2020
    @billlee 我开发的一个脚本应用程序,里面涉及到找图像找字等等,开了系统平滑字体之后会在字体边上产生许多不一样的颜色导致字体识别的时候有些问题。我现在每次运行都要把系统的平滑字体和 ClearType 关了。
    systemcall
        5
    systemcall  
       Jun 30, 2020
    Win7 的话,兼容性疑难解答里面调一下试试,记得是可以强制使用 Windows Basic 的,DWM,Aero,ClearType 都有办法关掉。比如调成 Windows XP,就会关闭很多功能,记得 Windows XP 里面 ClearType 默认不开启,那时 LCD 不普及
    Win10 的话,看了一下好像不行了,没找到相关的选项,帮助也缩水了,文档里面也没有
    systemcall
        6
    systemcall  
       Jun 30, 2020
    试了一下,如果程序的字体是 SimSun(宋体),是不会开启 ClearType 的
    你把程序的字体调成 SimSun,就不会应用 ClearType 之类的字体平滑技术
    BenchWidth
        7
    BenchWidth  
    OP
       Jun 30, 2020
    @systemcall 谢谢大佬,问题解决了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2527 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 15:59 · PVG 23:59 · LAX 08:59 · JFK 11:59
    ♥ Do have faith in what you're doing.