Page 1 of 1

Writing in Arabic

Posted: Wed Oct 17, 2012 4:30 pm
by linuxer9
hello,

i want to write in Arabic in gui's , how can i do this ?
Arabic is right to left - language
More information about Arabic : http://en.wikipedia.org/wiki/Arabic_language
thanks alot :)

Re: Writing in Arabic

Posted: Wed Oct 17, 2012 4:32 pm
by linuxer9
some open source arabic ttf-fonts
http://projects.arabeyes.org/project.php?proj=Khotot
:D

Re: Writing in Arabic

Posted: Wed Oct 17, 2012 4:44 pm
by linuxer9
pls , help me :cry:

Re: Writing in Arabic

Posted: Wed Oct 17, 2012 8:23 pm
by art_zh
Hi linuxer9,

unfortunately, there is no arabic support so far, no unicode and no ttf as well.

the kernel needs to be redeveloped seriously to support these features; if you can do it - welcome to the team.

Re: Writing in Arabic

Posted: Wed Oct 17, 2012 8:41 pm
by SoUrcerer
Hi! You can use TrueType, but I think you'll have to "mirror" your text first. Also, you can create bitmap with your font, and draw it.

Re: Writing in Arabic

Posted: Wed Oct 17, 2012 9:04 pm
by linuxer9
thanks all
i found a way to print arabic lettres without ttf or unicode
here (sorry it's in arabic) : http://translate.googleusercontent.com/ ... cZaiMzGAVA
any ideas :)

Re: Writing in Arabic

Posted: Wed Oct 17, 2012 9:07 pm
by linuxer9
art_zh wrote:Hi linuxer9,

unfortunately, there is no arabic support so far, no unicode and no ttf as well.

the kernel needs to be redeveloped seriously to support these features; if you can do it - welcome to the team.
why does it support russian ?
there's a way to support arabic too , sorry i'm not a programmer :)

Re: Writing in Arabic

Posted: Wed Oct 17, 2012 10:06 pm
by art_zh
linuxer9 wrote:why does it support russian ?
there's a way to support arabic too, sorry i'm not a programmer :)
because many KolibriOS developers speak Russian.

yes, there is a way to add a full-featured multi-lingual support.
but it is a very costly and challenging project, nobody will do it for free.

Re: Writing in Arabic

Posted: Thu Oct 18, 2012 12:34 am
by linuxer9
art_zh wrote: because many KolibriOS developers speak Russian.

yes, there is a way to add a full-featured multi-lingual support.
but it is a very costly and challenging project, nobody will do it for free.
well, can you add a support for Arabic , like Russian ? or show me how ?
i can draw the arabic lettres ...
the problem now is right to left writing
and Arabic has 4 types of lettres ,
on the begining of word like : مـ , بـ , غـ
on the middle of word like : ـمـ , ـبـ , ـغـ
on the end of word like : ـم ، ـب ، ـغ
and lettre initial : م , ب, غ
more information : http://en.wikipedia.org/wiki/Arabic_alphabet
please help me :cry:

Re: Writing in Arabic

Posted: Thu Oct 18, 2012 1:22 am
by linuxer9
I've found an old arabic OS called Aqsa ...
some of its code wrote in asm , and it writes arabic...
you can fork some of code to kolibri or just make a library..:)
download from here :
http://web.archive.org/web/201010180519 ... upaqsa.zip
and source code here :
http://web.archive.org/web/201010180519 ... e_Code.zip

:wink:

Re: Writing in Arabic

Posted: Thu Oct 18, 2012 6:42 pm
by yogev_ezra
Kolibri currently doesn't support right-to-left at all, so it would be a problem adding any right-to-left language, Hebrew for example is also not supported. Currently I think Kolibri can support only "regular" alphabet left-to-right languages (like English, Russian, Greek, French, etc.). Anything else would require GUI subsystem changes.

If you need to just display Arabic (i.e. to ask user to press a certain button with Arabic text on it), then you can do it as a picture (GIF, PNG, ...) and you do not have to add Arabic support.

Re: Writing in Arabic

Posted: Thu Oct 18, 2012 7:08 pm
by linuxer9
yogev_ezra wrote:... Anything else would require GUI subsystem changes.
OK, I want this
to developer , please entre and help me to create this library :cry:
Thank you :)

Re: Writing in Arabic

Posted: Thu Oct 18, 2012 7:46 pm
by SoUrcerer
What kind of help do you need? You easily can create user-mode library.

Re: Writing in Arabic

Posted: Fri Oct 19, 2012 12:32 am
by art_zh
linuxer9
there is (theoretically) nothing impossible in this world, but it will take at least 300 hours of steady works to get a simplest solution of your problem. one needs to be a very good programmer to do this; and if he is not familiar with KolibriOS API, then I only can advise him to study it to start.

otherwise, your appeal "help!!" sounds like "please, do it for me urgently, because I want it so much!!"

please answer two serious questions first of all:

1.(our motivation)
would you explain us why do you think we should do this just now, breaking all the other urgent tasks our own?

2. (your motivation)
what is your personal interest in it?