Fix negative x bearing issue 94/304094/6 accepted/tizen/unified/20240124.163221 accepted/tizen/unified/x/20240205.064044
authorBowon Ryu <bowon.ryu@samsung.com>
Wed, 10 Jan 2024 04:22:09 +0000 (13:22 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Mon, 15 Jan 2024 03:08:01 +0000 (12:08 +0900)
commit640113bc4d668741b30bb336fde37649b259272d
tree48ccc1e4e9bd0a14551a214dd3fc899f4799739c
parent750dddde69301fa612e9030dc263591e5800195c
Fix negative x bearing issue

This patch calculates the x offset of the line when the x bearing is negative
and applies it in the line position and size
to avoids unintentional truncation of glyphs based on the glyph properties.

Change-Id: Iafa7a18822de4bc6e952c2182b0c692907064ab0
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
src/lib/evas/canvas/evas_object_textblock.c