[FriBidi] Arabic ligatures
tvollmer at codemart.de
Wed Aug 15 04:50:12 PDT 2007
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?
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...
> Am 13.08.2007 um 13:15 schrieb Till Vollmer:
>> So the calling is ok from your side? Or do you see an obvious
>> Am 13.08.2007 um 08:18 schrieb Behdad Esfahbod:
>>> On Sun, 2007-08-12 at 11:28 +0200, Till Vollmer wrote:
>>>> 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
>>>> 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.
>>> "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
>> till.vollmer at codemart.de
>> fribidi mailing list
>> fribidi at lists.freedesktop.org
> 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
> till.vollmer at codemart.de
> fribidi mailing list
> fribidi at lists.freedesktop.org
Tel: +49 (0)89 1213 5359
Mob: + 49 (0)160 718 7403
Fax: +49 (0)89 1892 1347
Yahoo ID: till_vollmer
till.vollmer at codemart.de
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fribidi