Ignore vertical line alignment when the line spacing is negative 03/274903/5
authorssabah <s.sabah@samsung.com>
Wed, 11 May 2022 14:21:06 +0000 (17:21 +0300)
committerssabah <s.sabah@samsung.com>
Mon, 30 May 2022 10:50:40 +0000 (13:50 +0300)
commit04ed06538a1461d2ccdbd132c4902e4572b9960a
tree24d942a692c86cf64ea00e94c37c8d802b02a5b7
parent6dee947335ac2aadaa52d5d1b60e8e3880208329
Ignore vertical line alignment when the line spacing is negative

This is to resolved cut-off in first-line when line-spacing is negative
 and vertical line alignment is bottom or middle.

Testing code:
https://github.com/wonrst/NUI-Test/blob/main/text-vertical-line-align/verticalline.cs

This patch should be preceded by the patch below:
https://review.tizen.org/gerrit/c/platform/core/uifw/dali-toolkit/+/274097

Change-Id: I80e6d838ad08f7f34d79f6018bb44ae467c7a89a
automated-tests/src/dali-toolkit-internal/CMakeLists.txt
automated-tests/src/dali-toolkit-internal/utc-Dali-LineHelperFunctions.cpp [new file with mode: 0644]
dali-toolkit/internal/file.list
dali-toolkit/internal/text/line-helper-functions.cpp [new file with mode: 0644]
dali-toolkit/internal/text/line-helper-functions.h [new file with mode: 0644]
dali-toolkit/internal/text/rendering/text-typesetter.cpp