incidentist / the_tuul

Make a decent karaoke video from any song in about 10 minutes.
https://the-tuul.com
17 stars 4 forks source link

RTL languages don't work #32

Open incidentist opened 3 months ago

incidentist commented 3 months ago

Example:

ע/רב_של_שו/ש/נים
נ/צא_נא_אל_ה/בוס/תן
מור_ב/ש/מים_ו/ל/בו/נה
ל/ר/ג/ל/ך_מפ/תן

This shows up in the ass file with syllables going right to left, but the syllables are arranged LTR and the animation happens LTR as well.

The relevant ASS:

[Script Info]
; Script generated by The Tüül - https://the-tuul.com

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Liberation Sans,26,&H004317D3,&H00E62918,&H00838894,&H00000000,-1,0,0,0,100,100,0,0,1,1,0,8,0,0,0,0

[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:00.00,0:00:04.00,Default,Singer,0,0,121,,{\k0}{\kf200}Erev Shel Shoshanim
Dialogue: 0,0:00:00.00,0:00:04.00,Default,Singer,0,0,160,,{\k200}{\kf200}Eli Buzaglo
Dialogue: 0,0:00:04.00,0:00:18.62,Default,Singer,0,0,141,,{\k0}{\kf1461}||||||||||||||||||||||||||||||||||
Dialogue: 0,0:00:18.62,0:00:31.34,Default,Singer,0,0,82,,{\fad(0,501)}{\k0}{\kf200}*** {\kf41}ע{\kf26}רב {\kf29}של {\kf49}שו{\kf55}ש{\kf149}נים

Dialogue: 0,0:00:18.62,0:00:31.34,Default,Singer,0,0,121,,{\fad(0,501)}{\k600}{\kf28}נ{\kf52}צא {\kf26}נא {\kf31}אל {\kf50}ה{\kf49}בוס{\kf165}תן

Dialogue: 0,0:00:18.62,0:00:38.30,Default,Singer,0,0,160,,{\k1072}{\kf53}מור {\kf26}ב{\kf31}ש{\kf52}מים {\kf55}ו{\kf62}ל{\kf47}בו{\kf72}נה

Dialogue: 0,0:00:18.62,0:00:38.30,Default,Singer,0,0,199,,{\k1517}{\kf50}ל{\kf26}ר{\kf29}ג{\kf53}ל{\kf51}ך {\kf67}מפ{\kf171}תן