Closed 00Creamy closed 2 years ago
After looking a bit more, do the reason subs line generated twice is to remove the problem where android opacity is not working? Even so how does it actually works?
Subtitle duplication happens when your .ass style has both a shadow and an outline. YouTube subtitles can't have both at the same time, so YTSubConverter creates one with a shadow and one with an outline and makes them overlap.
Another reason it can happen is when you have dark text. This is explained in the readme.
Zero-width spaces are used for working around all kinds of YouTube bugs. I wish they weren't necessary, but they are - without them, even simple stuff like making one word in a sentence bold would not be possible, because YouTube's subtitle code is just that buggy.
This is not an issue but rather a question Why does the generated subtitles doubles and put some zero width spaces on the start and the end?