Hi, I've been using vim 6.1/w2k/GUI with GIME support for my Japanese text editing for some days now. Generally I've been impressed by how solid the support...
642
Glenn Maynard
glenn@...
Jun 4, 2002 6:33 pm
... wcwidth() thinks U+25CF is single-width, but it's double-width in the Windows fonts. This is a fairly common bug; it happens with Unicode open- and...
643
Bram Moolenaar
Bram@...
Jun 4, 2002 6:37 pm
... This sounds like a font problem. I don't find a remark in the Unicode list for character 0x25CF to be double width. ... This has been discussed, and the...
644
Bram Moolenaar
Bram@...
Jun 4, 2002 6:50 pm
... It would be good to avoid the display to be messed up. If just this one character isn't displayed correctly that's not much of a problem (leave out half...
645
Glenn Maynard
glenn@...
Jun 4, 2002 7:11 pm
... It's at least five characters: U+25CF, U+2018, U+2019, U+201C, U+201D. I'm considering throwing together a program to see if there are others. ... They...
646
Glenn Maynard
glenn@...
Jun 4, 2002 7:22 pm
... The IME in Windows, when enabled, enters Japanese by default. If I want to enter English, I turn it off. (Actually, reverse that; if I want to type...
647
Bram Moolenaar
Bram@...
Jun 4, 2002 9:05 pm
... In Normal mode IME should always be off by default (and it can only be switched on by some key chord, I suppose). That it's on sounds like a bug. ... I...
648
Glenn Maynard
glenn@...
Jun 4, 2002 9:41 pm
... I don't recall. However, Vim is very exceptional in enabling the IME explicitely (in any mode) by default. ... Who originally implemented the Windows IME...
... [..] Phew, that's a lot. ... Sounds like a good idea. Does the same trick also work to turn a proportionally spaced font into fixed-width? That's an item...
651
Glenn Maynard
glenn@...
Jun 5, 2002 5:33 pm
... I think it'd use too much memory. (I have a different idea, using the width array parameter of the font rendering function.) I'll keep it in mind,...
652
alexandre.elias@...
Jun 6, 2002 12:25 am
... Yeah, I'll look into it and try to come up with a patch when I have the time. From what I've seen of the code, intercepting and killing the IME in...
653
Glenn Maynard
glenn@...
Jul 13, 2002 3:14 am
I'm fixing up the clipboard patch, and I'm hitting some problems with convert_setup; it forces to and from to utf-8 for all encodings. What needs this? I...
654
Bram Moolenaar
Bram@...
Jul 13, 2002 12:15 pm
... Vim internally uses UTF-8 for all unicode encodings, also for UCS-2. convert_setup() isn't a fully generic function, it's only for its specific use in Vim....
655
Glenn Maynard
glenn@...
Jul 13, 2002 10:04 pm
Attached is a mostly cosmetic patch to mbyte.c. None of this affects the clipboard patch, so I've separated it out. Clarify comments. "Ignores following...
656
Bram Moolenaar
Bram@...
Jul 14, 2002 10:52 am
... Looks like a good bunch of changes. I'll include the patch. Question: You changed UTF-16 to UCS-2 in several places. Are you sure this is correct? I...
657
Glenn Maynard
glenn@...
Jul 14, 2002 6:26 pm
... Hmm. You're probably right; thinking about it, I'm really not sure. ... For this code, it shouldn't, since it's only used for the IME which probably won't...
658
Bram Moolenaar
Bram@...
Jul 14, 2002 7:47 pm
... As far as I know, MS-Windows only supports UCS-2 so far, but since they finally discovered that 16 bits is not enough (just like 640 Kbyte wasn't enough!...
659
Glenn Maynard
glenn@...
Jul 14, 2002 9:04 pm
gui_w32 uses ETO_IGNORELANGUAGE in NT; the only doc I can find for this flag says: "Reserved for system use. If an application sets this flag, it loses ...
660
Glenn Maynard
glenn@...
Jul 14, 2002 9:45 pm
To amend a bit: The funky_dbcs code works, but it's incomplete: padding isn't specified, so bold and italic characters desync the output a bit, and len isn't ...
661
Ron Aaron
ron@...
Jul 14, 2002 10:59 pm
... Yes. If the ETO_IGNORELANGUAGE flag is set on NT (2K, XP, etc) then we tell the OS not to be "helpful" when outputting characters which are in Hebrew or ...
662
Glenn Maynard
glenn@...
Jul 15, 2002 12:13 am
... Yeah, I just figured that out. I'm trying to figure out exactly what works, and why. For example, this isn't done for UTF-8. The ETO_IGNORELANGUAGE flag...
663
Bram Moolenaar
Bram@...
Jul 15, 2002 8:34 pm
... It seems defining FEAT_MBYTE_IME changes the method used for outputting DBCS text. That is not a good thing, deciding to use HanExtTextOut() should also...
664
Glenn Maynard
glenn@...
Jul 15, 2002 9:36 pm
... That's what I ended up doing. However, notice that one of the HanExtTextOut calls only does anything when ImeGetTempComposition returns non-NULL, and that...
665
Bram Moolenaar
Bram@...
Jul 17, 2002 10:54 am
... This indeed looks very broken. ImeGetTempComposition() will always return NULL. It already was like this in 6.0. I didn't hear specific complaints about...
666
Glenn Maynard
glenn@...
Jul 17, 2002 8:56 pm
On Wed, Jul 17, 2002 at 12:54:07PM +0200, Bram Moolenaar wrote:
> This indeed looks very broken. ImeGetTempComposition() will always
> return NULL. It...
667
Bram Moolenaar
Bram@...
Jul 18, 2002 8:02 pm
... Ehm, this removes HanExtTextOut() completely. I'm not sure if that is a good idea, it wan't added for fun. But it should certainly be called in a...
668
Glenn Maynard
glenn@...
Jul 18, 2002 9:07 pm
... Well, there are two parts to it: One's the fake-backslash code. I don't think that's worth keeping as is, since it's very special-case, and like you said,...
669
Bram Moolenaar
Bram@...
Jul 25, 2002 10:45 am
Since Sven's Vim pages have stopped working and didn't show any sign of being resurrected, we speeded up the redesign of the Vim pages. Ricardo Signes has...
670
The Vim Man
theviman@...
Jul 29, 2002 2:55 am
Anyone succeed in getting Arabic support working? Thanks for your time... -- http://fastmail.fm/ - IMAP accessible web-mail...