libjass
libjass copied to clipboard
Support BorderStyle = 3
Currently, this does not seem to be supported. Should make a (black) rectangular background to the subtitles/captions.
please?
The non-SVG render path could use https://developer.mozilla.org/en-US/docs/Web/CSS/box-shadow with everything 0 and spread > 0 to generate shadows of uniform spread thickness. Different outline width and height will require multiple shadows of the smaller dimension tiled along the longer dimension.
(box-shadow doesn't generate shadows around the element itself, so would need to use background-color for that part.)
The SVG render path could use BackgroundAlpha and deform it similar to how it does regular outlines.
@Arnavion after download v0.11.0.zip and import libjass.js, it's show error "name.toLowerCase is not a function", but i do not find it in libjass.js, how can i fix it
You're asking a question in a completely unrelated issue because...?
after I used v0.11.0 and set BorderStyle = 3,but still no background???
This issue is still open, yes.