V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
lldong
V2EX  ›  Vim

MacVim如何设置中文字体?

  •  
  •   lldong · Aug 22, 2012 · 12321 views
    This topic created in 5001 days ago, the information mentioned may be changed or developed.
    我MacVim中guifont设置的是Inconsolata:h14,但是中文字体显示的时候字号就相对太大了,试过设置guifontwide,但是无效,请问有什么方法可以设置中文字体的字号呢?
    2 replies    1970-01-01 08:00:00 +08:00
    xell
        1
    xell  
       Aug 23, 2012   ❤️ 1
    不知道你指的“guifontwide无效”是什么意思,可能你没有正确地拼出字体名称?我这里挺好的,可对中英文字体分别设置:

    set guifont=Consolas:h14
    set guifontwide=Microsoft\ YaHei:h14
    bitsmix
        2
    bitsmix  
       Aug 23, 2012   ❤️ 1
    set gfn=Consolas:h16
    set guifontwide="Hiragino Sans GB"


    也许有点大
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2465 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 09:38 · PVG 17:38 · LAX 02:38 · JFK 05:38
    ♥ Do have faith in what you're doing.