forked from enlightenment/efl
Evas font: Fixed font run detection for some cases.
There were issues for specific cases with 2 different fonts in the middle of a run.
This commit is contained in:
parent
d6dababe78
commit
4fc694978b
|
@ -1,8 +1,9 @@
|
||||||
2013-02-21 Tom Hacohen (TAsn)
|
2013-02-21 Tom Hacohen (TAsn)
|
||||||
|
|
||||||
* Evas text: Fixed bug with the text object direction detection.
|
* Evas text: Fixed bug with the text object direction detection.
|
||||||
|
* Evas font: Fixed font run detection for specific cases with 2
|
||||||
|
different fonts in the middle of a run.
|
||||||
|
|
||||||
size_range.
|
|
||||||
2013-02-21 Carsten Haitzler (The Rasterman)
|
2013-02-21 Carsten Haitzler (The Rasterman)
|
||||||
|
|
||||||
* Add ecore_x_dnd_self_begin() and ecore_x_dnd_self_drop() to
|
* Add ecore_x_dnd_self_begin() and ecore_x_dnd_self_drop() to
|
||||||
|
|
1
NEWS
1
NEWS
|
@ -178,4 +178,5 @@ Fixes:
|
||||||
* Properly report file not found in Edje.
|
* Properly report file not found in Edje.
|
||||||
* Fix ecore-x edid fetch to ftech 128, not 100 bytes.
|
* Fix ecore-x edid fetch to ftech 128, not 100 bytes.
|
||||||
* Evas text: Fixed bug with the text object direction detection.
|
* Evas text: Fixed bug with the text object direction detection.
|
||||||
|
* Evas font: Fixed font run detection for specific cases with 2 different fonts in the middle of a run.
|
||||||
|
|
||||||
|
|
|
@ -79,12 +79,10 @@ evas_common_font_query_run_font_end_get(RGBA_Font *fn, RGBA_Font_Int **script_fi
|
||||||
continue;
|
continue;
|
||||||
/* Break if either it's not in the font, or if it is in the
|
/* Break if either it's not in the font, or if it is in the
|
||||||
* script's font. */
|
* script's font. */
|
||||||
if (fi == *script_fi)
|
if (!evas_common_get_char_index(fi, *itr))
|
||||||
{
|
break;
|
||||||
if (!evas_common_get_char_index(fi, *itr))
|
|
||||||
break;
|
if (fi != *script_fi)
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
if (evas_common_get_char_index(*script_fi, *itr))
|
if (evas_common_get_char_index(*script_fi, *itr))
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue