]> granicus.if.org Git - libass/commit
Allow using shadow offset to adjust size of text background
authorRicardo Constantino <wiiaboo@gmail.com>
Wed, 26 Apr 2017 22:11:47 +0000 (23:11 +0100)
committerGrigori Goronzy <greg@chown.ath.cx>
Thu, 1 Jun 2017 13:03:38 +0000 (15:03 +0200)
commita7807b03b0d1f25f448c14e88e0d8aa6ef4d0961
tree8051e5e0e6203eaf0a0936a087141f1667198475
parentfa01950cde285c74c68f3d07067323c7f67b5bfa
Allow using shadow offset to adjust size of text background

Text background refers to the libass-only BorderStyle 4, which is
similar to 3, but isn't affected by outline/border size and doesn't
render shadow, so shadow offset can be used.

You can override the horizontal and vertical box size separately
with override tags, just like you can override the color with
shadow color.

Closes #270
libass/ass_render.c