lldong
V2EX  ›  Vim

MacVim如何设置中文字体?

  •  
  •   lldong · Aug 22, 2012 · 12402 views
    This topic created in 5037 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   ·   5453 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 50ms · UTC 08:22 · PVG 16:22 · LAX 01:22 · JFK 04:22
    ♥ Do have faith in what you're doing.