You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When the text layer has the wrap position property enabled, the text position will change after rendering when the line height is modified. However, this does not affect the text position on iOS or Web.
What version of Lottie did you test this on?
6.5.2
What version of Android did you test this on?
Android 14 Steps To Reproduce
Steps to reproduce the behavior:
1.Render the line_height_test.json on Android and Web.
2.The orange text has a line height (lh) of 42, and the green text has a line height (lh) of 32.
3.On Web, the text position remains unchanged, and both texts are horizontally aligned.
4.On Android, the text position will be affected.
5.If modify the orange text with lh 32, the both texts on Android will be horizontally aligned.
Web Screenshots Android Screenshots
The text was updated successfully, but these errors were encountered:
Describe the bug
When the text layer has the wrap position property enabled, the text position will change after rendering when the line height is modified. However, this does not affect the text position on iOS or Web.
The attachment is the text Lottie sample file.
line_height_test.json
What version of Lottie did you test this on?
6.5.2
What version of Android did you test this on?
Android 14
Steps To Reproduce
Steps to reproduce the behavior:
1.Render the line_height_test.json on Android and Web.
2.The orange text has a line height (lh) of 42, and the green text has a line height (lh) of 32.
3.On Web, the text position remains unchanged, and both texts are horizontally aligned.
4.On Android, the text position will be affected.
5.If modify the orange text with lh 32, the both texts on Android will be horizontally aligned.
Web Screenshots
Android Screenshots
The text was updated successfully, but these errors were encountered: