Shai Ayal says: "It looks like the line should be:
FriBidiCharType baseDir = FRIBIDI_TYPE_WL; after compilation (on linux) it looks to be working -- both Latin and Hebrew look right. I think the "weak" baseDir means fribidi assumes a LTR paragraph unless it's only RTL characters, in which case it assumes RTL paragraph. So if writing in Latin only there should be no problems, and if writing in Hebrew only, also no problems, and if mixing than you get the behavior that current cvs has, which is also OK."
This commit is contained in:
parent
7234cc193d
commit
da7e52cd47
1 changed files with 2 additions and 1 deletions
|
|
@ -15499,7 +15499,8 @@ static void do_render_cur_text(int do_blit)
|
|||
if (texttool_len > 0)
|
||||
{
|
||||
#if defined(_FRIBIDI_H) || defined(FRIBIDI_H)
|
||||
FriBidiCharType baseDir = FRIBIDI_TYPE_LTR;
|
||||
//FriBidiCharType baseDir = FRIBIDI_TYPE_LTR;
|
||||
FriBidiCharType baseDir = FRIBIDI_TYPE_WL; /* Per: Shai Ayal <shaiay@gmail.com>, 2009-01-14 */
|
||||
FriBidiChar *unicodeIn, *unicodeOut;
|
||||
unsigned int i;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue