Arnav Singh
Arnav Singh
@XCanG Not sure I understand what you mean.
I know what calc is. I'm asking how you propose to use it to solve this problem.
Sure, but that requires knowing that the first is 30px high. If libjass knew that then it wouldn't need to use calc at all since it could just absolutely position...
Again, my point is that libjass doesn't know the height of the subs to be able to position things with calc. If it did know the height of the subs,...
Making subs overlap if they have the same margin is strictly worse than showing them with more margin that necessary. The latter allows you to atleast read them.
>I am encountering more of the following scenario It is absolutely not a common scenario. The behavior your subs are trying to achieve is more commonly done by positioning one...
If there is a PR with the option I will consider it. Alternatively you can look at https://github.com/Dador/JavascriptSubtitlesOctopus instead. With the direction browsers are moving in with respect to SVG...
Relevant `PlayRes*` fixups in libass are at https://github.com/libass/libass/blob/6092e276de387133de4dfb17843a5d8d0b8de3f0/libass/ass.c#L1333 Pseudocode: ``` switch (x, y) { (> 0, > 0) => (x, y), (
>However, the way I see it, your library is not following the Substation Alpha specs! >This leads me to conclude that it is in fact a bug in your library...
Yeah, exactly. The requester in your case is the Emby library. --- Also, the assert was introduced in [this commit](https://github.com/Arnavion/libjass/commit/1cefb68b47a56f12ccf0d01961127a4e1f7ecc75) that actually tried to catch scripts with no `Script Info`...