On 20/12/08 04:22, anhnmncb wrote:
> Hi, list,
>
> As title, sometimes a text maybe has some charactors that guifont foo, which
> is set by :set guifont=foo doesn't contain, in this case, I don't know if vim
> has mechanism that use another font that has this charactor for displaying?
>

If you were on Unix/Linux, and using gvim with GTK2, it would do it for 
you automagically. Alas, your mail User-Agent string seems to imply 
you're on Windows, and the Windows font backend isn't that clever.

If your Windows 'guifont' ends in :cANSI or somesuch, try using 
:cDEFAULT instead. This gives gvim more latitude to choose glyphs from 
related fonts.

If you edit multilingual pages in several scripts, like my homesite 
frontpage http://users.skynet.be/antoine.mechelynck/ then sometimes, try 
as you may, you won't find a single font with all the glyphs on the 
page. In that case you may have to change the 'guifont' according to 
which part of the page you are currently modifying. (For instance, for 
that page I use "Lucida Console" or "Bitstream Vera Sans Mono" for 
Latin, "Courier New" for Cyrillic and Arabic, "MingLiU" or "FZFangSong" 
for Chinese/Japanese. Also I use larger font sizes for Arabic and CJK 
than for Latin and Cyrillic.) On Windows the ":set gfn=*" menu works 
quite well, but I recommend trimming down the result afterwards (by 
using ":set gfn=<Tab>" and editing the command-line) to keep only the 
name (you wouldn't remove that ;-) ), plus one size parameter, and 
:cDEFAULT as said above -- see 
http://vim.wikia.org/wiki/Setting_the_font_in_the_GUI for details.


Best regards,
Tony.
-- 
I took a course in speed reading and was able to read War and Peace in
twenty minutes.  It's about Russia.
                -- Woody Allen

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to