On 08/06/09 10:02, Ali Gholami Rudi wrote:
> Tony Mechelynck<[email protected]>  wrote:
>> I haven't (yet?) unzipped the attachment, but if all shapes of all
>> letters (even not including harakat), plus both shapes of laam-alif
>> (which may be regarded as composed but is still used even in
>> non-vocalized text), have to be included, it would have to be several
>> times longer than "the quick brown fox jumps over the lazy dog". Still
>> manageable, of course, if cleverly contrived.
>
> That's why I preferred not to use a table based testing.  Put an
> arbitrary long text in the "input" file; it will probably contain most
> possible combinations.
>
> Also note that the mainline arabic.[hc] (and the new one) does not
> handle all laa-like combinations (just have a look at LIGATURE chars in
> UnicodeData.txt or a character viewer).  And not doing any of them
> doesn't make the writing wrong; it merely makes it bad looking.  So if
> it was up to me, I would have even removed laa handling completely for a
> few reasons:
>
> * in a mono-spaced font I don't think that will help the text look
>    much better
> * when they are present editing is harder; backspace removes all of the
>    combined letters

not if 'delcombine' is on, which should be the 'arabic' default. Then 
Insert-mode backspacing removes only the last combining character 
immediately before the cursor. I'm using this also at the moment to edit 
a Russian dictionary, where stress is shown by a combining acute accent. 
(This is of course LTR.)

> * currently laa is handles as a special case and that makes the code
>    look worse
> * I think it is better either to support all or none of them
>
> Just my opinion... Anyway, the new version preserve the old behavior.
>
>       Ali
>

Hm, I don't have much knowledge of Arabic, but IIUC use of the digraph 
is mandatory whenever laam is immediately followed by alif.

Ideally this would even include laam + fatha + alif or laam + sukuun + 
alif-hamza but these are only "icing on the cake", I'm not sure that 
even my browsers (which can display Arabic quite nicely) handle them 
correctly, so if they are too hard to handle, don't do them.

Laam + (ordinary) alif is IMHO important, laam + alif-hamza-above and 
laam + alif-hamza-below are less important but not negligible, I'm not 
sure about laam + alif-madda, I'd be surprised if laam + alif-wasla 
could even appear in "proper" Arabic.


Best regards,
Tony.
-- 
When God created two sexes, he may have been overdoing it.
                -- Charles Merrill Smith

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui