在Ubuntu 下Gvim的显示字体问题有问题,错误提示如下:
** (gvim:5109): CRITICAL **: ascii_glyph_table_init: assertion `gui.ascii_glyphs->num_glyphs == sizeof(ascii_chars)’ failed
解决方法如下:
/usr/share/vim/下,找到gvimrc并去掉如下几行的注释:
if has(‘gui_gtk2’)
set guifont=Sans
else
set guifont=-misc-fixed-medium-r-normal–14-130-75-75-c-70-iso8859-1
endif