# HG changeset patch # User eugeni # Date 1218147658 0 # Node ID e2de111091394a34cab37f2c1300b59744b14c56 # Parent fa56dd3b3cfd9d7573b9f073a4652e5f31b830a1 If (has outline) blur(outline) else blur(glyph). If there is an outline, the glyph itself should not be blurred. Keeps the border between glyph and outline clear (unblurred), which is probably how it should be. Patch by Diogo Franco (diogomfranco gmail com). diff -r fa56dd3b3cfd -r e2de11109139 libass/ass_bitmap.c --- a/libass/ass_bitmap.c Thu Aug 07 22:20:56 2008 +0000 +++ b/libass/ass_bitmap.c Thu Aug 07 22:20:58 2008 +0000 @@ -274,9 +274,10 @@ resize_tmp(priv, (*bm_g)->w, (*bm_g)->h); if (be) { - blur((*bm_g)->buffer, priv->tmp, (*bm_g)->w, (*bm_g)->h, (*bm_g)->w, (int*)priv->gt2, priv->g_r, priv->g_w); if (*bm_o) blur((*bm_o)->buffer, priv->tmp, (*bm_o)->w, (*bm_o)->h, (*bm_o)->w, (int*)priv->gt2, priv->g_r, priv->g_w); + else + blur((*bm_g)->buffer, priv->tmp, (*bm_g)->w, (*bm_g)->h, (*bm_g)->w, (int*)priv->gt2, priv->g_r, priv->g_w); } if (*bm_o)