]> granicus.if.org Git - libass/commit
Redo border calculations for \be and \blur
authorGrigori Goronzy <greg@blackbox>
Sun, 12 Jul 2009 04:56:48 +0000 (06:56 +0200)
committerGrigori Goronzy <greg@blackbox>
Sun, 12 Jul 2009 04:56:48 +0000 (06:56 +0200)
commit1baeba8197174a0b23bb6344c4175df336568d55
treed91eb6be39e2f3f309a52f04120b0312bdd3dd8c
parentd5b7cb636ccf447543cf2beb4b2d593fa4890570
Redo border calculations for \be and \blur

The last commit related to this overdid it a bit -- in some cases,
with \be5, for example, edges were visible on the outlines.  Instead of
using a linear function to map \be applications to border enlargement
value, use a nonlinear function, a simple square root. This seems to
work a lot better, while keeping the enlargement small.
In addition, make it possible to use \be and \blur at the same time. \be
is applied first.
libass/ass_bitmap.c