Arabic ligatures
Till Vollmer <[email protected]> Wed, 15 Aug 2007 13:50:12 +0200
| Newsgroups | gmane.comp.internationalization.fribidi |
|---|---|
| Message-ID | <[email protected]> |
Hello, I need to visualize arabic language. Right now fribidi works perfectly for hebrew but with arabic letters I still have a problem. The text consists of the real Unicode values and when they are printed they must somehow substituted with ligatures. I am not in arabic but there seems to be a letter for beginning, inside and end of a word. Is here a library or does fribidi supoort the calculation of this? Regards Till Am 15.08.2007 um 12:45 schrieb Till Vollmer: > Just for the records: > > The problem was the malloc(). len should be multiplied by sizeof > (FribidiChar) (as it is int32) insetad of just taking the len. > > Still one small problem: > > Is there a way to calculate the bytes of the result of > utf8_to_unicode before actually doing it? I need to malloc the > buffer before but dont know how big it should be... > > > Regards > Till > > Am 13.08.2007 um 13:15 schrieb Till Vollmer: > >> So the calling is ok from your side? Or do you see an obvious >> problem? >> >> Regards >> Till >> >> Am 13.08.2007 um 08:18 schrieb Behdad Esfahbod: >> >>> On Sun, 2007-08-12 at 11:28 +0200, Till Vollmer wrote: >>>> Hi, >>>> >>>> The tests are working now. But I have a different problem: >>>> >>>> I am working on a Ruby wrapper and it works fine functionally but >>>> whenever the Ruby garbage collector kicks in I got an BUS error. >>>> I had >>>> my wrapper code checked by someone who does that very ofter and he >>>> says it's ok, so the problem must be either in the way I call >>>> fribidi >>>> stuff or in fribidi. Attached the code. Maybe someone can check >>>> if I >>>> do it ok. Any help would be very appreciated. >>> >>> No idea. This is up to a Ruby hacker to figure out I guess. >>> >>> -- >>> behdad >>> http://behdad.org/ >>> >>> "Those who would give up Essential Liberty to purchase a little >>> Temporary Safety, deserve neither Liberty nor Safety." >>> -- Benjamin Franklin, 1759 >>> >>> >>> >> >> Codemart GmbH >> Till Vollmer >> Managing Director >> Tel: +49 (0)89 1213 5359 >> Mob: + 49 (0)160 718 7403 >> Fax: +49 (0)89 1892 1347 >> Yahoo ID: till_vollmer >> Skype: till_vollmer >> www.codemart.de >> [email protected] >> >> >> >> >> >> _______________________________________________ >> fribidi mailing list >> [email protected] >> http://lists.freedesktop.org/mailman/listinfo/fribidi > > Codemart GmbH > Till Vollmer > Managing Director > Tel: +49 (0)89 1213 5359 > Mob: + 49 (0)160 718 7403 > Fax: +49 (0)89 1892 1347 > Yahoo ID: till_vollmer > Skype: till_vollmer > www.codemart.de > [email protected] > > > > > > _______________________________________________ > fribidi mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/fribidi Codemart GmbH Till Vollmer Managing Director Tel: +49 (0)89 1213 5359 Mob: + 49 (0)160 718 7403 Fax: +49 (0)89 1892 1347 Yahoo ID: till_vollmer Skype: till_vollmer www.codemart.de [email protected] _______________________________________________ fribidi mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/fribidi