[Fribidi-discuss] fribidi_log2vis 'extra' variables

Behdad Esfahbod behdad at bamdad.org
Mon Sep 23 04:52:02 EST 2002


On Mon, 23 Sep 2002, Tal Peer wrote:
> >Infact the fribidi api is not limited to the log2vis call.
> >
> Details?

Well, better you wait until the next api (version 1.0), because 
there will be MAJOR change in api.

> >Well, my last hacking on PHP extension modules has bee months ago 
> >and I can't remember the rules just now.  it should be something 
> >like some optional parameters, passed by reference, and if 
> >available, the mapping will be put in them...
> >  
> Hmm.. how are the mappings represnted internally in fribidi?

As a array of indexes from logical str to visual str, and another 
one for the other way.  Also it returns an array of character 
types, that are defined in fribidi_types.h

> >PS.  Tal, you know that is there any plans to add PHP support to 
> >swig?  It currently generates frontends for Perl, Python and TCL.
> >
> AFAIK, swig works in conjusction with PHP already.

Ok, I found it just now.

> Tal

-- 
Behdad Esfahbod		1 Mehr 1381, 2002 Sep 23 
http://behdad.org/	[Finger for Geek Code]

#define is_persian_leap(y) ((((y)-474)%2820+2820)%2820*31%128<31)





More information about the FriBidi mailing list