Ken Takata wrote:

> Hi,
> 
> I wrote a patch to fix an issue from the todo.txt:
> 
> > 8   non-ASCII font names don't work.  Need to convert from 'encoding' and 
> > use
> >     the wide functions.
> 
> How to reproduce:
> 
> > gvim -u NONE -U NONE --cmd "set enc=utf-8"
> :set guifont=* " Select a non-ASCII font name. E.g. ' $B#M#S (B  $B%4%7%C%/ 
> (B'.
> :set guifont   " The selected font name is not shown properly.
> :set guifont= $B#M#S (B_ $B%4%7%C%/ (B:h11:cSHIFTJIS " Error occurs.
> 
> 
> This patch still uses ANSI functions, not wide functions, and just converts
> font names from 'encoding' to the current codepage.  So a font name which
> can not be handled by the current codepage can not be used even if this
> patch is applied.  Currently, this is a limitation.  (Maybe hundreds of
> lines should be changed when using wide functions.)

Thanks. I'll move it up in the todo list.

-- 
>From "know your smileys":
 =):-)  Uncle Sam

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui