forked from enlightenment/efl
fae337469e
Summary: This fixes an issue that causes BiDi text to get wrapped even when resizing the textblock to its native size. The way we find the last visual item in the native line is wrong. The 'visual_pos' describes the visual position in the formatted layout, in which wrapping may occur. So, this is really bad to use it for native width calculations as well. Also, there's no need to actually reorder the line - we just need the last visual item. This adds and uses a function very similar to _layout_line_reorder, in which we retrieve the last visual item in the native line. This function does not do any actual reordering, as the native layout is disposed of after calculation is done. Also, added GET_ITEM_LEN macro for convenience. Fixes T1532 @fix Test Plan: Added to evas textblock test suite in this patch Reviewers: tasn Subscribers: id213sin, JackDanielZ, cedric Maniphest Tasks: T1532 Differential Revision: https://phab.enlightenment.org/D1353 |
||
---|---|---|
.. | ||
ecore | ||
ecore_audio_cxx | ||
ecore_cxx | ||
edje | ||
edje_cxx | ||
eet | ||
eet_cxx | ||
eeze | ||
efreet | ||
eina | ||
eina_cxx | ||
eldbus | ||
eldbus_cxx | ||
emotion | ||
eo | ||
eolian | ||
eolian_cxx | ||
evas | ||
evas_cxx | ||
.gitignore |