changeset 19956:5f268ded7f6a

Reduce size of non-blurred bitmaps.
author eugeni
date Sat, 23 Sep 2006 18:35:19 +0000
parents 2792de2ca069
children 41153a5b5f8e
files libass/ass_bitmap.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libass/ass_bitmap.c	Sat Sep 23 17:54:24 2006 +0000
+++ b/libass/ass_bitmap.c	Sat Sep 23 18:35:19 2006 +0000
@@ -183,7 +183,7 @@
 
 int glyph_to_bitmap(ass_synth_priv_t* priv, FT_Glyph glyph, FT_Glyph outline_glyph, bitmap_t** bm_g, bitmap_t** bm_o, int be)
 {
-	const int bord = ceil(blur_radius);
+	const int bord = be ? ceil(blur_radius) : 0;
 
 	assert(bm_g && bm_o);