On Sat, Feb 22, 2003 at 18:41:09 -0500, Jungshik Shin wrote: > > You meant a standalone-gui vim (e.g. gvim) as opposed to vim running > inside a terminal emulator, didn't you? Without RTL > scripts supported by the term. emulatore it's running under, I presume > that it'd be very hard to support Arabic in vim. BTW, there's a port of > gui-based vim to gtk2(and pango) which reportedly supports RTL scripts > See http://www.opensky.ca/gnome-vim/todo.html. The latest patch > is not the one linked there but you shuold get it at > http://regexxer.sourceforge.net/vim.
AFAIK, vim simply has two modes, LTR and RTL (norightleft, rightleft). It doesn't support directionality beyond that. The gtk2/pango vim patch is very cool, but it doesn't have any additional RTL support. In the case of Arabic, pango is sometimes asked to render full strings, and sometimes asked to render individual characters. The result is that the glyph used for each character changes when you move the cursor over it, for instance. So in a way it's a regression from regular vim. (Nevertheless, I'm very optimistic about the future of pango vim.) I think it would be useful if pango had a fixed-width mode. I've heard that there is a standard way to render indic scripts in fixed-width environments. Noah -- Linux-UTF8: i18n of Linux on all levels Archive: http://mail.nl.linux.org/linux-utf8/
