forked from enlightenment/efl
Evas bidi: Fixed a bug causing BiDi not to work in some cases.
This issue cause non-letter RTL characters not to be detected as RTL which in turn turned off bidi for those strings. Example broken text: <RLM><LRO>[PAS<RLO>[--DES<PDF><PDF>. Thanks to Yakov Goldberg for reporting this issue.
This commit is contained in:
parent
deacfdce24
commit
041e3af3e5
|
@ -1,3 +1,7 @@
|
|||
2013-08-27 Tom Hacohen
|
||||
|
||||
* Evas bidi: Fixed a bug causing BiDi not to work in some cases.
|
||||
|
||||
2013-08-20 David Seikel (onefang)
|
||||
|
||||
* Edje Lua: Check for both Lua 5.1 and 5.2.
|
||||
|
|
1
NEWS
1
NEWS
|
@ -329,6 +329,7 @@ Fixes:
|
|||
- Fix infinite loop if app use ecore evas image
|
||||
- Fix a long-standing off-by-1 in the C "simd" multiplier.
|
||||
- Skip the map rendering if all points are transparent.
|
||||
- Evas bidi: Fixed a bug causing BiDi not to work in some cases.
|
||||
* Ecore:
|
||||
- Don't leak fd on exec.
|
||||
- Fix fd handler increase issue when ecore_pipe_add/del is called repeatedly.
|
||||
|
|
|
@ -87,7 +87,7 @@ evas_bidi_is_rtl_str(const Eina_Unicode *str)
|
|||
for ( ; *str ; str++)
|
||||
{
|
||||
type = fribidi_get_bidi_type((FriBidiChar) *str);
|
||||
if (FRIBIDI_IS_LETTER(type) && FRIBIDI_IS_RTL(type))
|
||||
if (FRIBIDI_IS_RTL(type))
|
||||
{
|
||||
return EINA_TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue