Because you did NOT read my email. I said that we ended up using pango for that. I never used minibidi. I guess minibidi is there so we can add bidi to an application even if the license doesn't permit using fribidi. I'd never touch any of these personally. Unfortunately, I don't have an example but I have the preliminary patch I made for openbox here: http://home.foolab.org/cgi-bin/viewcvs.cgi/patches/openbox-3.2-arabic-20040706.diff?rev=1.1&view=auto It was an initial ugly implementation. And another one I made for links2 here: http://home.foolab.org/cgi-bin/viewcvs.cgi/patches/links2_fribidi.diff?rev=1.1&view=auto But be warned that the code is ugly and the links one isn't complete and it might crash. And no, you don't need to test the string first. My code is under the GPL On Tue, Apr 03, 2007 at 10:03:16PM +0000, Ahmed MANSOUR wrote: > Have you used the minibidi.c code in openbox? I downloaded the openbox > source and can't figure out where is the arabic shaping and rtl > functions. > please, I need to have an example like before and after adding the > code to understand how it works. > I guess you must first test if the unicode string is in Arabic and > before calling the bidi/shaping function. > I'm going to add Arabic support to enlightenment wm since it already > have utf-8, and I'm the only Arabe on their mailing list:) > > > 2007/3/31, Mohammed Sameer <msameer at foolab dot org>: > >I've done that before for openbox. > >The problem is that you can use fribidi for bidi but we don't have a > >library for shaping. > >I was using my shaping code. > > > >Luckily we ended up using pango in openbox. > > > >The WM first must be using unicode internally. > > > >You then need to hook into the strings drawing code and modify it to do > >the shaping and bidi. > > > >I'm CC'ing developer. > > > >On Sat, Mar 31, 2007 at 10:44:11AM +0000, Ahmed MANSOUR wrote: > >> I wonder if there is a guide at Arabeyes or tuttorial that explain how to > >> add > >> Arabic/freebidi support to wm that don't support it? > >> > >> > >> 2007/3/27, Michelle Konzack <linux4michelle at freenet dot de>: > >> >Am 2007-03-21 13:49:45, schrieb Ahmed MANSOUR: > >> >> Salam, > >> >> I needd to know have list of which windows managers is support Arabic > >> >> to start translating. > >> >> here is what I already know : > >> >> - xfce > >> >> - GNOME > >> >> - KDE > >> >> > >> >> what about enlightenment(e17)?fluxbox?fvwm?and other light wm? > >> > > >> >fvwm does definitiivly support farsi/arabic/hebrew even in the current > >> >version of Debian/Etch bidi is not working and I can not find the bug. > >> > > >> > > >> >Thanks, Greetings and nice Day > >> > Michelle Konzack > >> > Systemadministrator > >> > Tamay Dogan Network > >> > Debian GNU/Linux Consultant > >> > > >> > > >> >-- > >> >Linux-User #280138 with the Linux Counter, http://counter.li.org/ > >> >##################### Debian GNU/Linux Consultant ##################### > >> >Michelle Konzack Apt. 917 ICQ #328449886 > >> > 50, rue de Soultz MSN LinuxMichi > >> >0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com) > >> > > >> >_______________________________________________ > >> >Doc mailing list > >> >Doc at arabeyes dot org > >> >http://lists.arabeyes.org/mailman/listinfo/doc > >> > > >> > > > > >> _______________________________________________ > >> Doc mailing list > >> Doc at arabeyes dot org > >> http://lists.arabeyes.org/mailman/listinfo/doc > > > >-- > >GNU/Linux registered user #224950 > >Proud Egyptian GNU/Linux User Group <www.eglug.org> Member. > >Life powered by Debian, Homepage: www.foolab.org > >-- > >Don't send me any attachment in Micro$oft (.DOC, .PPT) format please > >Read http://www.gnu.org/philosophy/no-word-attachments.html > >Preferable attachments: .PDF, .HTML, .TXT > >Thanx for adding this text to Your signature > > > >-----BEGIN PGP SIGNATURE----- > >Version: GnuPG v1.4.6 (GNU/Linux) > > > >iD8DBQFGDnRQy2aOKaP9DfcRAhyxAJ96ZzDtjs0kjA+U0S11gz6u/ozJuACfe8G4 > >M3OwLxL5rAuO/rVGa4YMnho= > >=wtLh > >-----END PGP SIGNATURE----- > > > >_______________________________________________ > >Developer mailing list > >Developer at arabeyes dot org > >http://lists.arabeyes.org/mailman/listinfo/developer > > -- GNU/Linux registered user #224950 Proud Egyptian GNU/Linux User Group <www.eglug.org> Member. Life powered by Debian, Homepage: www.foolab.org -- Don't send me any attachment in Micro$oft (.DOC, .PPT) format please Read http://www.gnu.org/philosophy/no-word-attachments.html Preferable attachments: .PDF, .HTML, .TXT Thanx for adding this text to Your signature
Attachment:
signature.asc
Description: Digital signature