https://bugs.gpodder.org/show_bug.cgi?id=1137
Meir Kriheli <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #8 from Meir Kriheli <[email protected]> 2010-10-03 09:10:12 BST --- There's a pure python implementation I've written: http://pypi.python.org/pypi/python-bidi/ The function to get the direction is called get_base_level: http://github.com/mksoft/python-bidi/blob/master/src/bidi/algorithm.py#L91 Note that if the text contains html tags, it must be separated from them (since the tag is in English, and if it appears at the beginning of the text, it'll force the base dir to LTR). -- Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes. _______________________________________________ gPodder-Bugs mailing list [email protected] https://lists.berlios.de/mailman/listinfo/gpodder-bugs
