On 06/06/09 14:49, Ali Gholami Rudi wrote: > Ali Gholami Rudi<[email protected]> wrote: >> I'll try to make an automatic test when I get more spare time. I did >> try using arabic.c directly, but realized a few simple dependencies. I >> didn't find the time to have closer look but it didn't look very >> serious. > > I've created a basic test (attached); it ignores composing chars for > now. Files: > > * input: contains a sample arabic text > * old: arabic.[hc] before changing it > * new: arabic.[hc] after changing > * runtest.sh: runs the test > > runtests first uses the "old" folder to create the expected output. > Then it uses "new" folder to create the real output and finally compares > them. As mentioned, it does not handle composing characters yet. > > Ali
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. Best regards, Tony. -- Everybody wants to go to heaven, but nobody wants to die. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
