With --osd-border-style=opaque-box and background-box, respect --osd-shadow-offset. I am not sure if --osd-shadow-offset should be inherited with --osd-border-style=outline-and-shadow, especially since it doesn't let you specify different x and y offsets.
Unified · Split
| @@ -525,10 +525,10 @@ local function update() · 524 unmodified lines | ||
| 525 | 525 | local font = get_font() |
| 526 | 526 | local style = '{\\r' .. |
| 527 | 527 | '\\1a&H00&\\3a&H00&\\1c&Heeeeee&\\3c&H111111&' .. |
| 528 | − (has_shadow and '\\4a&H99&\\4c&H000000&' or '') .. | |
| 528 | + (has_shadow and '\\4a&H99&\\4c&H000000&\\xshad0\\yshad1' or '') .. | |
| 529 | 529 | (font and '\\fn' .. font or '') .. |
| 530 | 530 | '\\fs' .. opts.font_size .. |
| 531 | − '\\bord' .. opts.border_size .. '\\xshad0\\yshad1\\fsp0' .. | |
| 531 | + '\\bord' .. opts.border_size .. '\\fsp0' .. | |
| 532 | 532 | (selectable_items and '\\q2' or '\\q1') .. |
| 533 | 533 | '\\clip(' .. clipping_coordinates .. ')}' |
| 534 | 534 | -- Create the cursor glyph as an ASS drawing. ASS will draw the cursor |