I don't know that topic very well. You may want to try an utf-8 aware
terminal instead to find out whether the gvim terminal causes the trouble.
I'm not sure whether knowing this would help much. But that's what I
would try next.
Marc Weber
Can you attach a small text file with those characters?
http://software.schmorp.de/pkg/rxvt-unicode.html
I open your file in Vim and see what happens then.
Marc Weber
> On Sep 24, 3:27 pm, Marc Weber <marco-owe...@gmx.de> wrote:
>> Excerpts from Ujjwol (उज्जवल लामिछाने)'s message of Fri Sep 24 08:56:46 +0200 2010:
>>
>>> Guys, I am learning vim and it is great. But the problem with
>>> vim/gvim is that it doesn't support any complex scripts like
>>> Devanāgarī. It is not rendered properly. See the screenshots below:
>>
>>> Rendering in Vim
>>> http://i.imgur.com/wqNh5.png
>>
>>> Correct Rendering which is displayed gEdit/emacs/KWrite
>>> http://i.imgur.com/Zui3y.png
>>
>>> Is there any way to make vim/gvim support complex scripts? This
>>> affects to all Indic scripts. Yes! I tried changing font just in
>>> case, but it didn't work.
>>
>> I don't know that topic very well. You may want to try an utf-8 aware
>> terminal instead to find out whether the gvim terminal causes the
>> trouble. I'm not sure whether knowing this would help much. But
>> that's what I would try next.
>>
>> Marc Weber
>
> Problem is I don't know any terminal that supports unicode. I tried
> gnome-terminal, konsole, xterm and rxvt. They all don't render
> properly.
>
rxvt-unicode is my terminal emulator of choice.
mlterm renders text better when shaping is required, IME.
I don't have any Devanāgarī-capable fonts installed here at work. Will
test tonight when I get home or tomorrow.
--
Best,
Ben
No, it won't. I tested this on changeset d0049ff5969e with almost all of
media-fonts/* stuff installed (everything that is a font and is available
without unmasking) and it shows everything normally in font selector dialog, but
fails to show it in gvim. About terminal: this is probably incorrect, but it is
the best rendering I could obtain (konsole)?:
http://img-fotki.yandex.ru/get/5203/kp-pav.1/0_4fab5_c78b0cae_orig.png
Текст сообщения:
On Fri, 24 Sep 2010, Ujjwol (उज्जवल लामिछाने) wrote:
> On Sep 24, 3:54 pm, Marc Weber <marco-owe...@gmx.de> wrote:
>> Excerpts from Ujjwol (उज्जवल लामिछाने)'s message of Fri Sep 24 12:44:48 +0200 2010:
>>
>>> Problem is I don't know any terminal that supports unicode. I tried
>>> gnome-terminal, konsole, xterm and rxvt. They all don't render
>>> properly.
>>
>> Can you attach a small text file with those characters?http://software.schmorp.de/pkg/rxvt-unicode.html
>>
>> I open your file in Vim and see what happens then.
>>
>> Marc Weber
>
> Here is the Devanagari test file: http://drop.io/egigkig
>
Can you just attach that? It's annoying enough that the site requires
Flash, but even after firing up something with non-broken Flash[1], the
'Download' link is inactive. WTF.
--
Best,
Ben
[1] I disable plugins in Chrome on principle, but even under other
browsers lately Flash is borked on x86_64 linux. (Under Gentoo, the
only "working" Flash browser under amd64 is Opera 10.11.)
You can see example text on stackoverflow in the first comment to the question:
http://stackoverflow.com/questions/3776613/complex-scripts-in-vim-gvim. Here is
this text that can parsed with eval:
"\u0905\u0928\u0928\u094d\u0924: \u0935\u0948 \u0935\u0947\u0926:"
> [1] I disable plugins in Chrome on principle, but even under other
> browsers lately Flash is borked on x86_64 linux. (Under Gentoo, the
> only "working" Flash browser under amd64 is Opera 10.11.)
Opera uses its own plugin wrapper: operapluginwrapper-ia32-linux. You should
probably setup nspluginwrapper for other browsers.
Текст сообщения:
Your file is 2644 lines long. It only contais a-z A-Z 0-9 and some
special characaters. Wasn't this problem about rendering UTF-8 like
characters?
I'm puzzled - sorry.
Marc Weber
It looks like this in my gvim:
http://mawercer.de/~marc/test.jpg
However I don't know those signs so I can't even think about judging
whether they are (should be?) the same as shown in your original files.
Marc
These links show what it looks like for me in gvim [0] and in mutt in
gnome-terminal [1]. I am running Debian testing, with many fonts
installed. I installed ttf-devanagari-fonts prior to taking the screen
shots, but the email seemed to display properly for me (as best as I can
tell without having any prior experience with devanagari script) even
before I installed that font. I note a slight difference in the placing
of a couple marks (I don't know the proper font terminology) between the
gvim and the mutt renditions.
[0] http://www.renich.org/vim/gvim_scrot.png
[1] http://www.renich.org/vim/mutt_scrot.png
...Marvin
On Sep 25, 1:27 am, Marvin Renich <m...@renich.org> wrote:
> * Ujjwol (उज्जवल लामिछाने) <ujjwollamichh...@gmail.com> [100924 13:09]:
On Sep 25, 1:27 am, Marvin Renich <m...@renich.org> wrote:
> * Ujjwol (उज्जवल लामिछाने) <ujjwollamichh...@gmail.com> [100924 13:09]:
On Sep 25, 8:59 am, Ujjwol (उज्जवल लामिछाने)
--
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