Fix emoji vertical alignment issue 79/267379/3
authorBowon Ryu <bowon.ryu@samsung.com>
Thu, 2 Dec 2021 10:03:22 +0000 (19:03 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Thu, 9 Dec 2021 04:50:39 +0000 (13:50 +0900)
commitd4dd00c2bb67f80886f3468f80a513a125c722a3
tree3a4bf8b322d3da28125e34616315d719f699db64
parentbe7ba50bdf5c1432b787bae1baff4128e65d419b
Fix emoji vertical alignment issue

This patch uses ascender, descender, yBearing of font metrics to ensure that
the emoji is placed on the proper baseline when it is with a plain text glyphs.

Change-Id: I9b80e84820299c95da824eac286b98dbc40ed014
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
dali/internal/text/text-abstraction/plugin/font-client-plugin-impl.cpp
dali/internal/text/text-abstraction/plugin/font-face-cache-item.cpp