assrender: instruct libass to use light autohinting
authorGrigori Goronzy <greg@blackbox>
Tue, 2 Feb 2010 00:44:20 +0000 (01:44 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 2 Feb 2010 07:55:59 +0000 (08:55 +0100)
Fixes bug #608753.

ext/assrender/gstassrender.c

index cd6a39d..fde5610 100644 (file)
@@ -792,7 +792,7 @@ gst_ass_render_setcaps_video (GstPad * pad, GstCaps * caps)
       dar, ((gdouble) render->width) / ((gdouble) render->height));
 #endif
   ass_set_font_scale (render->ass_renderer, 1.0);
-  ass_set_hinting (render->ass_renderer, ASS_HINTING_NATIVE);
+  ass_set_hinting (render->ass_renderer, ASS_HINTING_LIGHT);
 
 #if !defined(LIBASS_VERSION) || LIBASS_VERSION < 0x00907000
   ass_set_fonts (render->ass_renderer, "Arial", "sans-serif");