fix font size

This commit is contained in:
gabrielkheisa 2023-03-21 00:13:19 +07:00
parent 95b63dcf71
commit 90ec90fe44
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ def checkindo():
durations = [3,3,3,3,3,5,3,3,3] durations = [3,3,3,3,3,5,3,3,3]
for text,t,duration in zip(texts, starts, durations): for text,t,duration in zip(texts, starts, durations):
txt_clip = TextClip(text, fontsize = 20, color='white', font="DejaVu-Serif-Bold", stroke_color="black") txt_clip = TextClip(text, fontsize = 30, color='white', font="DejaVu-Serif-Bold", stroke_color="black")
txt_clip = txt_clip.set_start(t) txt_clip = txt_clip.set_start(t)
txt_clip = txt_clip.set_pos('bottom').set_duration(duration) txt_clip = txt_clip.set_pos('bottom').set_duration(duration)
txt_clips.append(txt_clip) txt_clips.append(txt_clip)

View File

@ -57,7 +57,7 @@ def checkindo():
durations = [8,0] durations = [8,0]
for text,t,duration in zip(texts, starts, durations): for text,t,duration in zip(texts, starts, durations):
txt_clip = TextClip(text, fontsize = 20, color='white', font="DejaVu-Serif-Bold", stroke_color="black") txt_clip = TextClip(text, fontsize = 15, color='white', font="DejaVu-Serif-Bold", stroke_color="black")
txt_clip = txt_clip.set_start(t) txt_clip = txt_clip.set_start(t)
txt_clip = txt_clip.set_pos('bottom').set_duration(duration) txt_clip = txt_clip.set_pos('bottom').set_duration(duration)
txt_clips.append(txt_clip) txt_clips.append(txt_clip)