GVIM 中以 h 为前缀的字体大小是多少



我在Windows xp上使用gVim7.2,我将gui字体设置为Consolas 11。在我的 .vimrc 中使用以下代码

:set guifont=Consolas:h11

我很好奇为什么

大小以"h"为前缀?"h"是什么意思?

提前谢谢。

伊迪加斯说得对。

:help 'guifont'

For the Win32 GUI                   *E244* *E245*
- takes these options in the font name:
    hXX - height is XX (points, can be floating-point)
    wXX - width is XX (points, can be floating-point)
    b   - bold
    i   - italic
    u   - underline
    s   - strikeout
    cXX - character set XX.  Valid charsets are: ANSI, ARABIC,
          BALTIC, CHINESEBIG5, DEFAULT, EASTEUROPE, GB2312, GREEK,
          HANGEUL, HEBREW, JOHAB, MAC, OEM, RUSSIAN, SHIFTJIS,
          SYMBOL, THAI, TURKISH, VIETNAMESE ANSI and BALTIC.
          Normally you would use "cDEFAULT".
  Use a ':' to separate the options.
- A '_' can be used in the place of a space, so you don't need to use
  backslashes to escape the spaces.

最新更新