[Fribidi-discuss] Implementing multiple pass (multiplt char width)

Shachar Shemesh fribidi-discuss at sun.consumer.org.il
Sat Dec 7 13:31:09 EST 2002


Hi list,

I've had a quick look at the build process we use. I then went on and 
had a more thorough look. I then continued to build a minimal test case. 
I have some good news and some bad news.

The bad news is that the example code I sent all those months ago is not 
going to be incorporated as is into our build process. No way, no how. 
Automake is too autonomous in inventing the compile rules. I can 
recreate those rules myself, but then they won't get updated when 
automake is. Not what we want.

The good news is that this can still be done, and will not be too 
complicated. The idea is this (and a proof of concept patch should 
follow later this week):

In Makefile.am, the source files are marked as fribidi8.c fribidi16.c 
and fribidi32.c, instead of fribidi.c as it is today. I will also add a 
rule that knows how to generate %32.c from %.c, using a perl preprocessor.

The change is a simple addition of "#define FRIBIDI_CHAR_WIDTH 8" (or 
16, or 32) as the first line of the file.

Please let me know your opinions and thoughts about this, or I shall 
really start implementing (really, this time I mean it, truely).

			Shachar





More information about the FriBidi mailing list