try adding built in Alpine fonts

This commit is contained in:
gabrielkheisa 2022-10-25 18:46:54 +07:00
parent ab59a104d5
commit 2078bc74b6

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 = 40, color='white', stroke_color="black") txt_clip = TextClip(text, fontsize = 40, 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)