[FriBidi] Arabic ligatures

Behdad Esfahbod behdad at behdad.org
Wed Aug 15 14:15:06 PDT 2007


The fribidi2 module from CVS has code to do Arabic shaping to presentation
forms, yes.

behdad

On 8/15/07, Till Vollmer <tvollmer at codemart.de> wrote:
>
> 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
> till.vollmer at codemart.de
>
>
>
>
> _______________________________________________
> fribidi mailing list
> fribidi at lists.freedesktop.org
> 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
> till.vollmer at codemart.de
>
>
>
>
> _______________________________________________
> fribidi mailing list
> fribidi at lists.freedesktop.org
> 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
> till.vollmer at codemart.de
>
>
>
>
>


-- 
behdad
http://behdad.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/fribidi/attachments/20070815/f725a56e/attachment.html 


More information about the fribidi mailing list