STRRL
V2EX  ›  问与答

如何让编辑器/IDE 达到终端的等宽效果(1 中文=2 英文)?

  •  
  •   STRRL · Jan 11, 2019 · 3045 views
    This topic created in 2703 days ago, the information mentioned may be changed or developed.

    如图:

    SHELL

    shell

    VSCODE

    vscode

    IDEA

    IDEA

    那个 Souce Hans Sans HW HC 可以达到 1 中文=2 英文,但是那个字体太瘦了,不太习惯。

    如何让编辑器也能达到 shell 里的效果呢?

    6 replies    2019-01-12 20:44:12 +08:00
    hanxiV2EX
        1
    hanxiV2EX  
       Jan 11, 2019 via Android
    我以前也碰到过,用 notepad++或者 gvim ?
    codehz
        2
    codehz  
       Jan 11, 2019
    自己合成一个字体就可以了(自用的话,应该没人能管版权问题的)
    fontforge 走起(
    blless
        3
    blless  
       Jan 11, 2019 via Android
    mono 等宽字体就可以吧 我记得文泉驿有款中文等宽字体,
    BBrother
        5
    BBrother  
       Jan 11, 2019
    Arnie97
        6
    Arnie97  
       Jan 12, 2019 via Android
    选择包含中文的等宽字体,不要让中文 Fallback 到与英文宽度不配套的另一款字体
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2893 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 56ms · UTC 05:47 · PVG 13:47 · LAX 22:47 · JFK 01:47
    ♥ Do have faith in what you're doing.