fribidi 0.10.9 is now available

View: New views
11 Messages — Rating Filter:   Alert me  

fribidi 0.10.9 is now available

by Behdad Esfahbod-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This should fix the bug that was recently raised on the list.
Instructions available at: http://fribidi.org/

Regards,
--
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



_______________________________________________
fribidi mailing list
fribidi@...
http://lists.freedesktop.org/mailman/listinfo/fribidi

Re: fribidi 0.10.9 is now available

by Till Vollmer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

-------------
#include "ruby.h"
#include "fribidi/fribidi.h"
#include "fribidi/fribidi_types.h"

static VALUE t_convert(VALUE klass, VALUE obj)
{
    VALUE ret;
    FriBidiChar *visual_str;
    FriBidiChar *us;
    int len_unicode;
    int  len_utf8;
    char* result;
    FriBidiCharType base=FRIBIDI_TYPE_L;
    us= (FriBidiChar*) malloc( RSTRING(obj)->len*4+1);   /*hack we dont know how long the unicode piece will be*/
    rb_eval_string("puts 'Enter 1'");

    len_unicode=fribidi_utf8_to_unicode (RSTRING(obj)->ptr, RSTRING(obj)->len,
                   us);

    visual_str= (FriBidiChar*) malloc(len_unicode +1);
   
    rb_eval_string("puts 'Enter 2'");
   
    fribidi_log2vis(
             us,
             len_unicode,
             &base,

             visual_str,
             NULL,
             NULL,
             NULL);

        result=(char*) malloc(RSTRING(obj)->len+1);
       
        rb_eval_string("puts 'Enter 3'");
       
        len_utf8=fribidi_unicode_to_utf8(visual_str, len_unicode,result);
        rb_eval_string("puts 'Enter 4'");

   ret =  rb_str_new2(result);
   rb_eval_string("GC.start");   /* this sometimes causes the BUS error  also happens when GC is called from the system*/
    rb_eval_string("puts 'Enter 5'");

   free(result);
   free(visual_str);
   free(us);
   return ret;
}


VALUE cTest;

void Init_rbidi() {
  cTest = rb_define_class("RBidi", rb_cObject);
  rb_define_singleton_method(cTest, "convert", t_convert, 1);
}

--------------------





















Am 10.08.2007 um 01:47 schrieb Behdad Esfahbod:

This should fix the bug that was recently raised on the list.
Instructions available at: http://fribidi.org/

Regards,
-- 
behdad

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759



_______________________________________________
fribidi mailing list

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@...






_______________________________________________
fribidi mailing list
fribidi@...
http://lists.freedesktop.org/mailman/listinfo/fribidi

Re: fribidi 0.10.9 is now available

by Behdad Esfahbod-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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



_______________________________________________
fribidi mailing list
fribidi@...
http://lists.freedesktop.org/mailman/listinfo/fribidi

Re: fribidi 0.10.9 is now available

by Till Vollmer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

"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@...






_______________________________________________
fribidi mailing list
fribidi@...
http://lists.freedesktop.org/mailman/listinfo/fribidi

Re: fribidi 0.10.9 is now available

by Till Vollmer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

"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@...





_______________________________________________
fribidi mailing list

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@...






_______________________________________________
fribidi mailing list
fribidi@...
http://lists.freedesktop.org/mailman/listinfo/fribidi

Arabic ligatures

by Till Vollmer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

"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@...





_______________________________________________
fribidi mailing list

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@...





_______________________________________________
fribidi mailing list

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@...






_______________________________________________
fribidi mailing list
fribidi@...
http://lists.freedesktop.org/mailman/listinfo/fribidi

Re: Arabic ligatures

by Behdad Esfahbod-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
The fribidi2 module from CVS has code to do Arabic shaping to presentation forms, yes.

behdad

On 8/15/07, Till Vollmer <tvollmer@...> 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

"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@...





_______________________________________________
fribidi mailing list

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@...





_______________________________________________
fribidi mailing list

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@...








--
behdad
http://behdad.org/
_______________________________________________
fribidi mailing list
fribidi@...
http://lists.freedesktop.org/mailman/listinfo/fribidi

Re: Arabic ligatures

by Till Vollmer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Is fribidi2 compatible with fribidi? what's the status of fribidi2? Is it a drop in replacement for fribidi?

Regards
Till


Am 15.08.2007 um 23:15 schrieb Behdad Esfahbod:

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

behdad

On 8/15/07, Till Vollmer <tvollmer@...> 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

"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@...





_______________________________________________
fribidi mailing list

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@...





_______________________________________________
fribidi mailing list

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@...








--
behdad
http://behdad.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 
www.codemart.de 
till.vollmer@...






_______________________________________________
fribidi mailing list
fribidi@...
http://lists.freedesktop.org/mailman/listinfo/fribidi

Re: Arabic ligatures

by Behdad Esfahbod-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 2007-08-16 at 16:07 +0200, Till Vollmer wrote:
> Is fribidi2 compatible with fribidi?

Supposed to be a drop-in replacement, yes.

> what's the status of fribidi2?

Needs a bit more work before a release, but has been in that state for
more than two years, and people have been using it happily.

> Is it a drop in replacement for fribidi?

Mostly, yes.

behdad

> Regards
> Till
>
>
>
> Am 15.08.2007 um 23:15 schrieb Behdad Esfahbod:
>
> > The fribidi2 module from CVS has code to do Arabic shaping to
> > presentation forms, yes.
> >
> > behdad
> >
> > On 8/15/07, Till Vollmer < tvollmer@...> 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@...
> >         > >
> >         > >
> >         > >
> >         > >
> >         > >
> >         > >
> >         > >
> >         > >
> >         > >
> >         > > _______________________________________________
> >         > > fribidi mailing list
> >         > > fribidi@...
> >         > > 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@...
> >         >
> >         >
> >         >
> >         >
> >         >
> >         >
> >         >
> >         >
> >         >
> >         > _______________________________________________
> >         > fribidi mailing list
> >         > fribidi@...
> >         > 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@...
> >        
> >        
> >        
> >        
> >        
> >        
> >        
> >        
> >        
> >
> >
> >
> > --
> > behdad
> > http://behdad.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
> www.codemart.de
> till.vollmer@...
>
>
>
>
>
>
>
>
>
--
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



_______________________________________________
fribidi mailing list
fribidi@...
http://lists.freedesktop.org/mailman/listinfo/fribidi

Re: Arabic ligatures

by Till Vollmer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Behdad,

Sounds great. Unfortunately "bootstrap" is not working for me.
Do you have a version that is a real distribution with a working "configure"? That would be very great!

Thank you for all the help.

Regards
Till
Am 16.08.2007 um 21:38 schrieb Behdad Esfahbod:

On Thu, 2007-08-16 at 16:07 +0200, Till Vollmer wrote:
Is fribidi2 compatible with fribidi?

Supposed to be a drop-in replacement, yes.

what's the status of fribidi2?

Needs a bit more work before a release, but has been in that state for
more than two years, and people have been using it happily.

Is it a drop in replacement for fribidi?

Mostly, yes.

behdad

Regards
Till



Am 15.08.2007 um 23:15 schrieb Behdad Esfahbod:

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

behdad

On 8/15/07, Till Vollmer < tvollmer@...> 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


"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 









_______________________________________________
fribidi mailing list

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 









_______________________________________________
fribidi mailing list

        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@... 












-- 
behdad

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 









-- 
behdad

"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@...






_______________________________________________
fribidi mailing list
fribidi@...
http://lists.freedesktop.org/mailman/listinfo/fribidi

Re: Arabic ligatures

by Behdad Esfahbod-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've uploaded a temporary tarball to:

  http://people.freedesktop.org/~behdad/fribidi-0.19.tar.gz

behdad


On Sun, 2007-08-19 at 10:22 +0200, Till Vollmer wrote:

> Behdad,
>
>
> Sounds great. Unfortunately "bootstrap" is not working for me.
> Do you have a version that is a real distribution with a working
> "configure"? That would be very great!
>
>
> Thank you for all the help.
>
>
> Regards
> Till
> Am 16.08.2007 um 21:38 schrieb Behdad Esfahbod:
>
> > On Thu, 2007-08-16 at 16:07 +0200, Till Vollmer wrote:
> > > Is fribidi2 compatible with fribidi?
> >
> >
> > Supposed to be a drop-in replacement, yes.
> >
> >
> > > what's the status of fribidi2?
> >
> >
> > Needs a bit more work before a release, but has been in that state
> > for
> > more than two years, and people have been using it happily.
> >
> >
> > > Is it a drop in replacement for fribidi?
> >
> >
> > Mostly, yes.
> >
> >
> > behdad
> >
> >
> > > Regards
> > > Till
> > >
> > >
> > >
> > >
> > >
> > >
> > > Am 15.08.2007 um 23:15 schrieb Behdad Esfahbod:
> > >
> > >
> > > > The fribidi2 module from CVS has code to do Arabic shaping to
> > > > presentation forms, yes.
> > > >
> > > >
> > > > behdad
> > > >
> > > >
> > > > On 8/15/07, Till Vollmer < tvollmer@...> 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@...
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > _______________________________________________
> > > > > > fribidi mailing list
> > > > > > fribidi@...
> > > > > > 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@...
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > fribidi mailing list
> > > > > fribidi@...
> > > > > 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@...
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > behdad
> > > > http://behdad.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
> > > www.codemart.de
> > > till.vollmer@...
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > --
> > 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@...
>
>
>
>
>
>
>
>
>
--
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



_______________________________________________
fribidi mailing list
fribidi@...
http://lists.freedesktop.org/mailman/listinfo/fribidi