evas textblock: use main font's ascent/descent as minimum value
authorYoungbok Shin <youngb.shin@samsung.com>
Tue, 26 Sep 2017 11:33:10 +0000 (14:33 +0300)
committerDaniel Hirt <hirt.danny@gmail.com>
Tue, 26 Sep 2017 11:33:11 +0000 (14:33 +0300)
commit42ac2136b014255369755157e3e4c20d24639662
tree1684e2b29d24723781f536407c3a76e5d7e80958
parent56667a84b1ed88f25c9bb581162e064b27813d2a
evas textblock: use main font's ascent/descent as minimum value

Summary:
The patch will adjust ascent/descent with considering main font's ascent/descent
as minimum value. Actually, this patch re-apply D5217 with resolving linegap issue
on the _layout_format_ascent_descent_adjust() function.
@fix

Test Plan: Put a text which will load smaller font. And put a text which will load primary font.

Reviewers: raster, cedric, herdsman, jpeg

Differential Revision: https://phab.enlightenment.org/D5227
src/lib/evas/canvas/evas_object_textblock.c