Ken Takata wrote:
> 2014/1/1 Wed 1:36:51 UTC+9 Bram Moolenaar wrote:
> > 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.
>
> I found that my previous patch causes a warning when compiled with GCC.
> I have updated the patch.
Thanks again.
--
hundred-and-one symptoms of being an internet addict:
112. You are amazed that anyone uses a phone without a modem on it...let
alone hear actual voices.
/// Bram Moolenaar -- [email protected] -- 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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.