-
I should add the above comment is mine, but SF wasn't keeping me logged in for some reason.
2009-03-11 19:22:56 UTC in fribidi python binding
-
When calling log2vis on Arabic text with joining using fribidi 0.19.1, fribidi inserts filler chars that need to be removed by calling fribidi_remove_bidi_marks per the exchange here http://lists.freedesktop.org/archives/fribidi/2009-March/000559.html. This patch adds an optional "clean" keyword argument. If set to 1 or True, fribidi_remove_bidi_marks is called after log2vis. The default is 0 or...
2009-03-11 18:09:29 UTC in fribidi python binding
-
In log2vis_utf8, the assumption is made that the string returned by fribidi_unicode_to_utf8 will be the same length as the original UTF-8 string. Unfortunately, that's not the case for Arabic, where the joining added in Fribidi 0.19.1 causes some of the original 2-byte UTF-8 sequences to be 3-bytes long. As a result, the buffer provided to fribidi_unicode_to_utf8 is too small to accept the full...
2009-03-09 19:50:59 UTC in fribidi python binding