[Fribidi-discuss] fribidi_log2vis 'extra' variables

Tal Peer tal at php.net
Mon Sep 23 04:34:01 EST 2002


Hi,
Behdad Esfahbod wrote:

>Hi again,
>
>On Sat, 21 Sep 2002, Tal Peer wrote:
>
>  
>
>>Hello,
>>I'm now enhancing the PHP fribidi extension.
>>    
>>
>
>Really good.  I thought that I should do it myself, and postponed 
>it to the next api.
>
>  
>
>>Currently, there's only one function in the extension: fribidi_log2vis, 
>>which returns the reversed string.
>>    
>>
>
>Infact the fribidi api is not limited to the log2vis call.
>  
>
Details?

>  
>
>>AFAIK, the function also generates the visual-logical mapping information.
>>Any ideas how should I return the mappings?
>>    
>>
>
>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?

>  
>
>>Thanks in advance,
>>Tal Peer
>>    
>>
>
>Thanks to you too,
>behdad
>
>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.

Tal






More information about the FriBidi mailing list