Replies: 2 comments
-
I think I found the cause. break_text() assumes text with spaces in between words. I think since Japanese doesn't have any something breaks and the line break is added in front of the text with text = "\n".join(break_text(..)). |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, yes this is a known issue see #2260 this should be fixed by pr #2357 already merged into master |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm generating text clips in a loop that I then vertically position below each other. I don't want the text to go off the screen, so I'm using the caption mode and give the text clips a fixed width and no height. Positioning is done by using the previous text clip's height and y position.
It all works great until text with a line break appears, then all of the sudden the text gets pushed down. I tried setting vertical_align to be "top", specifying the margins to be None or 0, but nothing seems to work. This is how I generate the text clips:
See line 2 in below example.
Beta Was this translation helpful? Give feedback.
All reactions