yangzh
V2EX  ›  问与答

有人 windows 下用 fontlink 设置过编程中文字体吗

  •  
  •   yangzh · Feb 28, 2016 · 4975 views
    This topic created in 3734 days ago, the information mentioned may be changed or developed.

    sublime text 下的中文字体惨不忍睹。

    参照 http://garyng.github.io/2014/06/04/windows-fontlink/ 用 fontlink 设置了 source code pro 的 fallback 为微软雅黑,效果还行。

    于是想改成思源黑体,发现了 sublime 下的居然显示得非常奇怪,有没有人知道是什么回事?

    我的设置如下

    SourceHanSansCN-Regular.otf,Source Han Sans CN Regular,128,96
    SourceHanSansCN-Regular.otf,Source Han Sans CN Regular
    

    bat 文件:

    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink" /v "Source Code Pro" /t REG_MULTI_SZ /d "SourceHanSansCN-Regular.otf,Source Han Sans CN Regular,128,96\0SourceHanSansCN-Regular.otf,Source Han Sans CN Regular" /f

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3052 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 14:33 · PVG 22:33 · LAX 07:33 · JFK 10:33
    ♥ Do have faith in what you're doing.