zonetecde/qurancaption

Verse number in arabic does not align correctly

Zakcrust opened this issue · 1 comments

Screenshot 2023-12-23 at 23 23 44 The verse number shown at the first line instead of at the end of the line

How to reproduce:

  • Pick any subtitles that will be broken into multiple lines of text.
  • Show verse number in arabic
  • Generate video
  • The verse number should always shown at the first line instead of at the last line of multiple lines of arabic text

Thanks for reporting the bug!
Unfortunately, I'm afraid I can't fix it. With all the patternes I've tried, I've only managed to put the Arabic number on the last line, but on the right.

image

This is due to the way FFMPEG handles Arabic characters.