evas: proceed glyph iterator to handle next index properly
authorYoungbok Shin <youngb.shin@samsung.com>
Mon, 4 Sep 2017 07:18:05 +0000 (10:18 +0300)
committerDaniel Hirt <hirt.danny@gmail.com>
Mon, 4 Sep 2017 07:18:05 +0000 (10:18 +0300)
commitbf1c0e2657259ab6d6c7ac44408bc46429c9d1c9
tree333f07deaf39bf29c2d5810a89e701145f727bbb
parent8574128b67d336e796ca0f0abc9b97e65f7799d4
evas: proceed glyph iterator to handle next index properly

Summary:
When harfbuzz is enabled, _content_create_ot() function will be used
for shaping. If evas_common_font_int_cache_glyph_get() failed in some reason,
it never proceed gl_itr until the end.
It can cause weird rendering result. Because, all of gl_itr after the failure
can't have proper x_bear, y_bear and width.
@fix

Test Plan: N/A

Reviewers: raster, cedric, herdsman, jpeg

Differential Revision: https://phab.enlightenment.org/D5154
src/lib/evas/common/evas_text_utils.c