assrender: instruct libass to use light autohinting

Fixes bug #608753.
This commit is contained in:
Grigori Goronzy 2010-02-02 01:44:20 +01:00 committed by Sebastian Dröge
parent febb13d26f
commit 934c91682f

View 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");