Lucups

Sublime Text 2 如何调整字符占用的宽度?

  •  
  •   Lucups · Dec 12, 2014 · 5298 views
    This topic created in 4229 days ago, the information mentioned may be changed or developed.
    标点字符占用的宽度很小,看起来很不爽。
    如何才能让标点符号与字母占用的位置一样?

    PS:Sorry,不知道术语怎么描述。。。
    4 replies    2014-12-13 14:07:38 +08:00
    lzsadam
        1
    lzsadam  
       Dec 12, 2014   ❤️ 1
    等宽字体?
    ooh
        2
    ooh  
       Dec 12, 2014   ❤️ 1
    "font_face": "Consolas",
    staticor
        3
    staticor  
       Dec 12, 2014   ❤️ 1
    我在LZ的问题基础上搜索了下, 这不是ST编辑器的问题 ( 符号字符与字母数字字符的占位宽度是否相同)


    term: fixed-width font, or non-...



    参考SO的一个问题 回答:
    http://stackoverflow.com/questions/18171536/the-size-of-the-space-and-the-char-on-the-sublime-text

    另外之前听 <内核恐慌> - 字体篇中两位host也介绍了一些字体。 ( http://ipn.li/kernelpanic/5/ )

    如果对字体感兴趣可以看看, 听听。

    我也不怎么挑剔,就是在Consolas, Menlo, Yahei 几个中换换。 Apple新出的Sanfransicco不知效果如何, 下了还没尝试。
    Lucups
        4
    Lucups  
    OP
       Dec 13, 2014
    @ooh
    @lzsadam
    @staticor

    感谢各位!尤其感谢 @staticor ~

    之前换了个字体,但是字体变了,但没有解决问题。参考了 staticor 的答案换了 sf 那个回答里推荐的字体后 ,问题解决。

    原本只以为字符编码是个坑,现在看来字体也是一个坑啊!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   876 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 20:51 · PVG 04:51 · LAX 13:51 · JFK 16:51
    ♥ Do have faith in what you're doing.