On Fri, 21 Nov 2008, Tony Mechelynck wrote:

> 
> On 20/11/08 16:54, weasley_wx wrote:
> > hi all.
> > the gvim72 for Windows set encoding to "cp936" defaultly, and in this
> > case, the dialog font is pretty (Tahona),
> > but, the encoding of "cp936" isn't good for me, so i changed it to
> > "utf-8", after set the lang of message to utf-8:
> > set encoding=utf-8
> > set helplang=cn
> > lang mes zh_CN.UTF-8
> > run delmenu.vim
> > set langmenu=zh_CN.UTF-8
> > run menu.vim
> > set termencoding=cp936
> > all is well, but the Vim's dialog changed to "sans", which is much ugly
> > than "Tahona", i think i can't abide it...
> > there is a screenshot of two fonts.
> > any idea about this little bug? (just setting guifont and guifontwide,
> > nothing better, and i don't know how to set guifontset...)
> > btw, the menu font and the font of Vim Window itself is prefect.
> > ------------------------------------------------------------------------
> > weasley_wx
> > 2008-11-20
> 
> I may be wrong, but I believe this is more of a Windows problem than a 
> Vim problem, especially since both text and menus in your Vim screen 
> (what the OS calls the "window" of the gvim.exe application) are exactly 
> the way you like them.
> 
> If I were still on Windows, and having this kind of problem, I might try 
> digging into the "country settings" (maybe looking for zh_CN.UTF-8, 
> zh_CN.ISO10646-1, or even zh_CN.UTF-16le because Unicode communication 
> between the Windows OS [XP or later] and Unicode-aware apps is always in 
> UTF-16le), or even searching the Windows registry for them, but in 
> either case with no guarantee of success.

I seldom use window now. It seems there are font rendering problem related
to auto-hint or anti-alias.  What if you just add 
   set encoding=utf-8
and leave other defaults unchanged.
   
-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩285 張祜  集靈臺二首之二
    虢國夫人承主恩  平明騎馬入宮門  卻嫌脂粉污顏色  淡掃蛾眉朝至尊

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

Reply via email to