diff options
author | iive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-03-31 20:58:14 +0000 |
---|---|---|
committer | iive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-03-31 20:58:14 +0000 |
commit | b5da111dd8845a4927a785fc30d5198057e63cbd (patch) | |
tree | 45a72ed842d975aea1a04d19022b5930a6077cd5 /libass/ass_render.c | |
parent | 7bbb6e7043093504ca77df3fe4eb3204ca9c867c (diff) | |
download | mpv-b5da111dd8845a4927a785fc30d5198057e63cbd.tar.bz2 mpv-b5da111dd8845a4927a785fc30d5198057e63cbd.tar.xz |
Use FT_Glyph_StrokeBorder to render only the outside border.
Workarounds gaps between glyph and glyph border when rendering some fonts with freetype below 2.1.10
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22863 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass/ass_render.c')
-rw-r--r-- | libass/ass_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_render.c b/libass/ass_render.c index 1fb35c76f1..11f90b5a58 100644 --- a/libass/ass_render.c +++ b/libass/ass_render.c @@ -1277,7 +1277,7 @@ static void get_glyph(int symbol, glyph_info_t* info, FT_Vector* advance) if (render_context.stroker) { info->outline_glyph = info->glyph; - error = FT_Glyph_Stroke( &(info->outline_glyph), render_context.stroker, 0 ); // don't destroy original + error = FT_Glyph_StrokeBorder( &(info->outline_glyph), render_context.stroker, 0 , 0 ); // don't destroy original if (error) { mp_msg(MSGT_ASS, MSGL_WARN, MSGTR_LIBASS_FT_Glyph_Stroke_Error, error); } |