IIUC, ANSI character set (cANSI) means you _don't want_ non-Latin
glyphs. Set it to cDEFAULT instead(:set gfn=Courier_New:h13:cDEFAULT),
and all glyphs available in Courier New will be available to you
(including Cyrillic and Arabic, but I don't think it's got Chinese).
Best regards,
Tony.
--
Jenkinson's Law:
It won't work.
If you canged what from ANSI_CHARSET to DEFAULT_CHARSET ? AFAIK, gvim
doesn't use those values.
The language to use for the GUI font is set at runtime (typically in
your vimrc), not at compile-time (not in any *.c file), and as part of
the 'guifont' option. Try using
:set guifont=Courier_New:h13:cDEFAULT
in your vimrc. No _CHARSET part, which would make the value unrecognizable.
Best regards,
Tony.
--
A closed mouth gathers no foot.
I thought Courier New didn't include Chinese glyps. To display Chinese,
try some other font, such as MingLiU or SimSun.
Best regards,
Tony.
--
"Love is a snowmobile racing across the tundra and then suddenly it
flips over, pinning you underneath. At night, the ice weasels come."
-- Matt Groening
> Dear Tony,
> Actually, yes. But MingLiU English Character is not acceptable. Also, once
> I have removed the ETO_IGNORELANGUAGE. It can display both English Character
> (Font I selected like Courier New), and Chinese Character at the same time.
ETO_IGNORELANGUAGE language is used to avoid problems with right-to-left
languages. Perhaps we should only use it when actually drawing in
right-to-left mode? Problem is that this flag is undocumented.
What does it do when not in right-to-left mode?
--
This is an airconditioned room, do not open Windows.
/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
I don't know... Maybe just wait until (...if ever...) GTK2 (or at least
Pango) becomes available on native-Windows? ;-)
Best regards,
Tony.
--
The wind doth taste so bitter sweet,
Like Jaspar wine and sugar,
It must have blown through someone's feet,
Like those of Caspar Weinberger.
-- P. Opus
It already is, isn't it? Hence Gimp, Gaim, etc. It would probably be a
challenge compiling a GTK+ native Vim, but it should be possible.
Smiles,
Ben.
Mmm. I suspected this. My guess is that the flag basically turns it from
a smart 'render this text, doing whatever is necessary to get it to make
sense--pulling fonts from other characters and changing writing
directions where appropriate' mode that is focused on getting the
languages in the text onto the screen into a dumb 'render glpyhs from
this font in exactly this order' mode which is focused on giving the
programmer precise control over the rendering.
> What does it do when not in right-to-left mode?
I think it will cause problems then, too. As soon as you wish to render
glyphs that are a mixture of LTR and RTL, some bidi algorithm or
something will kick in, regardless of whether Vim is in rightleft mode
or not.
Ben.