From 6ebc8ce286b38c95c660d33ce8cec35643dbdb99 Mon Sep 17 00:00:00 2001 From: greg Date: Thu, 18 Jun 2009 14:14:35 +0200 Subject: [PATCH] Enlarge glyph size more for \blur to avoid artefacts. --- libass/ass_bitmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libass/ass_bitmap.c b/libass/ass_bitmap.c index 15d583a..eac8223 100644 --- a/libass/ass_bitmap.c +++ b/libass/ass_bitmap.c @@ -288,7 +288,7 @@ int glyph_to_bitmap(ass_synth_priv_t* priv_blur, { int bord = be ? (be/4+1) : 0; blur_radius *= 2; - bord = (blur_radius > 0.0) ? blur_radius : bord; + bord = (blur_radius > 0.0) ? blur_radius+1 : bord; assert(bm_g && bm_o && bm_s); -- 2.40.0