Skip to content
This repository has been archived by the owner on Feb 6, 2022. It is now read-only.

Support BorderStyle = 3 #59

Open
janparadowski opened this issue Dec 22, 2015 · 5 comments
Open

Support BorderStyle = 3 #59

janparadowski opened this issue Dec 22, 2015 · 5 comments
Milestone

Comments

@janparadowski
Copy link

Currently, this does not seem to be supported.
Should make a (black) rectangular background to the subtitles/captions.

please?

@Arnavion Arnavion added this to the v0.11.0 milestone Dec 22, 2015
@Arnavion
Copy link
Owner

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 Arnavion modified the milestones: v0.11.0, v0.12.0 Jan 24, 2016
@Statfine
Copy link

@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

@Arnavion
Copy link
Owner

You're asking a question in a completely unrelated issue because...?

@Statfine
Copy link

after I used v0.11.0 and set BorderStyle = 3,but still no background???

@Arnavion
Copy link
Owner

Arnavion commented Feb 17, 2017

This issue is still open, yes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants