-
Notifications
You must be signed in to change notification settings - Fork 2.1k
TextClip Word Wrapping issue #2547
Copy link
Copy link
Open
Labels
bugIssues that report (apparent) bugs.Issues that report (apparent) bugs.textIssues dealing with TextClip, SubtitlesClip, or handling of text in general.Issues dealing with TextClip, SubtitlesClip, or handling of text in general.
Metadata
Metadata
Assignees
Labels
bugIssues that report (apparent) bugs.Issues that report (apparent) bugs.textIssues dealing with TextClip, SubtitlesClip, or handling of text in general.Issues dealing with TextClip, SubtitlesClip, or handling of text in general.
Expected Behavior
with the method caption in TextClip it should auto break word wise not char-wise in my opinion.
for example if its at the end of a line, something like 'there' will be
'th
ere' with is not helpful.
from moviepy.video.VideoClip import TextClip
text_clip = TextClip(
text='this is a really long text comment so it can be seen that the text clip is not functioning properly.',
method='caption',
size=(300, None),
color='white',
font_size=20,
text_align='center'
)
text_clip.show()
Actual Behavior
the 'is' should not be clipped.
Used medias
Specifications