[Fribidi-discuss] Some thoughts about BiDi Quirks Handling

Behdad Esfahbod behdad at bamdad.org
Mon Sep 23 22:43:02 EST 2002


Hi Dov,

Comments below:

On Tue, 24 Sep 2002, Dov Grobgeld wrote:

> Hi Behdad and everyone else,
> 
> First of all I must say that I agree with you that I don't think
> that we should have any MicroSoft quirks hardcoded in the fribidi
> core itself. Giving an API through which it is possible to change
> the BiDi classification of any characters sounds very reasonable 
> though. Could someone knowledgable explain if that is enough to
> support the various historical M$ behaviours?
> 
> Regarding the support of different encodings, I sent a suggestion
> a while ago that the only place that should need modification is
> at the entry point to the algorithm in fribidi_analyse_string(). 
> Appearently I had missed though that the FribidiChar type is queried
> later on in the algorithm, but Behdad wrote that might be
> solved by adding another flag in the bitfield currently used to 
> hold the character properties. If this is this what you are planning 
> to do, Behdad, then I don't understand where you would need the
> macros?

I really don't *need* them;  I want them there to be able to skip 
the 1, 2, 4 suffix.  Then just fribidi_log2vis(str, ...) will 
work on strings of different types.

> Regards,
> Dov

-- 
Behdad Esfahbod		2 Mehr 1381, 2002 Sep 24 
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