tags:

views:

3830

answers:

4

I wanted to add a UTF-8 font in Gvim but I could not find out how to do this. I tried to follow the step on this manual but it still did not work. http://www.inter-locale.com/whitepaper/learn/learn_to_type.html (vim section halfway the page)

Can anyone tell me how to add a font in Vim so I can have Japanese characters displayed ?

A: 

As far as I know, variable width fonts are not rendered properly in vim, maybe you do not have a fixed width font installed ?

Naseer
+3  A: 

Quote from the vim documentation:

For MS-Windows, some fonts have a limited number of Unicode characters. Try using the "Courier New" font. You can use the Edit/Select Font... menu to select and try out the fonts available. Only fixed-width fonts can be used though. Example:
        :set guifont=courier_new:h12

So, I guess, unless you find a fixed width font containing the characters you want to display, then you are out of luck.

HS
+5  A: 
Zathrus
+1  A: 

You have to use a fixed-width font for Gvim under Windows.

There are several relevant pages at the Vim Tips Wiki:

George V. Reilly