On Friday 02 July 2004 15:38, Tzafrir Cohen wrote: > On Thu, 1 Jul 2004, ik wrote: > > > Hello, > > > > Recently i translated Fribidi to FreePascal (as i written before, i'm > > making tools for freepascal and lazarus ide to support hebrew and > > bi-directonal). > > What do you mean? A reimplementation of fribidi in freepascal or interface > to the fribidi library in freepascal?
I havent reimplemented fribidi, only took the headers and translated them into pascal, and poiting to the library sheard files for exectuing most of the code (well all of the code except macros, that i needed to write on my own... pascal does not like macros very much :( ) for examaple: {$IFNDEF FRIBIDI_CHAR_SETS_ISO8859_8_H} {$DEFINE FRIBIDI_CHAR_SETS_ISO8859_8_H} {$DEFINE fribidi_char_set_name_iso8859_8} {$DEFINE fribidi_char_set_title_iso8859_8} {$DEFINE fribidi_char_set_desc_iso8859_8} {$DEFINE fribidi_char_set_enter_iso8859_8} {$DEFINE fribidi_char_set_leave_iso8859_8} const fribidi_char_set_name_iso8859_8 = 'ISO8859-8'; fribidi_char_set_title_iso8859_8 = 'ISO 8859-8 (Hebrew)'; fribidi_char_set_desc_iso8859_8 = 0; fribidi_char_set_enter_iso8859_8 = 0; fribidi_char_set_leave_iso8859_8 = 0; function fribidi_iso8859_8_to_unicode_c (ch : char) : FriBidiChar; cdecl; external FRIBIDI_PACKAGE_NAME name 'fribidi_iso8859_8_to_unicode_c'; I can send the entier unit but i don't think it's ready untill i will know that every thing is working well... > > > I want to test my translation, and for that i need to write some code > > that will implement all of the functions, for that i need to understand > > whats going on this lib, and how to useit, and i can't seems to find a > > good documentation about it, or the own demo of fribidi in it's source. > > And not even google helps me with it. > > First of all, IMHO a reimplementation would not be a grand idea. Fribidi is > already tested and mature. Some existing bottle-necks have been identified > and handled. > > It would save you the need to verify the basic imeplementation. > > IIRC the source of fribidi includes some relevant tests. The fribidi > command will probably come handy in automated tests, as it exposes much of > the functionality of the library. > > > > > I would appreceate any poiting to a demo (with comments inside of > > curse) and/or documentation about it > > The command frbidi itself can be a good start. fribidi is also used in > pango, AbiWord (a C++ program) and a number of smaller programs (Nadav's > bidiv, motor, fvwm, centericq, etc.) > > > Furthermore, the fribidi mailing list is alive and well. It should be a > good place for implementation issues , even though many of the library's > contributers read this list. > Ido -- The seam you meant to rip out is invariably the other one -- Murphy's Laws of Sewing n°4 ================================================================To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]