How to set monaco as the default font in gvim ?

422 views
Skip to first unread message

李哲

unread,
Oct 5, 2016, 8:40:03 PM10/5/16
to vim_use
I reinstall my win 10 and install the font Monaco,

And set the vimrc like this . Before the reinstall of the os, gvim show monaco correctly, but after that, it seems get something wrong.

I try the command set guifont=* and can't find the monaco. Why is that? How to fix it?

10~06_08-36-40.bmp

李哲

unread,
Oct 7, 2016, 2:25:00 AM10/7/16
to vim_use
在 2016年10月6日星期四 UTC+8上午8:40:03,李哲写道:
> I reinstall my win 10 and install the font Monaco,
>
> And set the vimrc like this . Before the reinstall of the os, gvim show monaco correctly, but after that, it seems get something wrong.
>
> I try the command set guifont=* and can't find the monaco. Why is that? How to fix it?

Monaco already add to the system, I use the notepad++ which can show the Monaco correctly

Amit Christian

unread,
Oct 7, 2016, 9:36:36 AM10/7/16
to vim_use
This is what I have in my vimrc and it works fine on my system.

set guifont=Monaco:h10

李哲

unread,
Oct 8, 2016, 4:02:32 AM10/8/16
to vim_use
在 2016年10月7日星期五 UTC+8下午9:36:36,Amit Christian写道:
Can you find the monaco if you type set guifont=* in the poped window which make you to select a font in it?

李哲

unread,
Oct 8, 2016, 4:12:09 AM10/8/16
to vim_use
在 2016年10月6日星期四 UTC+8上午8:40:03,李哲写道:
> I reinstall my win 10 and install the font Monaco,
>
> And set the vimrc like this . Before the reinstall of the os, gvim show monaco correctly, but after that, it seems get something wrong.
>
> I try the command set guifont=* and can't find the monaco. Why is that? How to fix it?

OH I know maybe something wrong with the font file or I install the font in a wrong way,
I download the font file from this link https://github.com/todylu/monaco.ttf

When the download is over I open it(double click) in the explorer, and click the `install` button at the top of the window, now my vim can find monaco in the system.

Tnx a lot for the people who relied ~
: )
Reply all
Reply to author
Forward
0 new messages