From f394231f5de9d1ff679f1b2da4d1f1b303ae914a Mon Sep 17 00:00:00 2001 From: Grigori Goronzy Date: Thu, 6 Aug 2009 23:00:12 +0200 Subject: [PATCH] Use light autohinting by default in libass FreeType's native hinter causes rendering errors with many fonts, especially with broken fonts that unfortunately tend to be used a lot with SSA/ASS subtitles. Use the light autohinter for unscaled OSD by default to avoid these problems. --- DOCS/man/en/mplayer.1 | 2 +- ass_mp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DOCS/man/en/mplayer.1 b/DOCS/man/en/mplayer.1 index e321da4c19..0d8ac1a73a 100644 --- a/DOCS/man/en/mplayer.1 +++ b/DOCS/man/en/mplayer.1 @@ -2097,7 +2097,7 @@ The same, but hinting will only be performed if the OSD is rendered at screen resolution and will therefore not be scaled. .RE .RSs -The default value is 7 (use native hinter for unscaled OSD and no hinting otherwise). +The default value is 5 (use light hinter for unscaled OSD and no hinting otherwise). .RE .PD 1 . diff --git a/ass_mp.c b/ass_mp.c index 0480b546cd..89a0c6eaa1 100644 --- a/ass_mp.c +++ b/ass_mp.c @@ -52,7 +52,7 @@ int ass_use_margins = 0; char *ass_color = NULL; char *ass_border_color = NULL; char *ass_styles_file = NULL; -int ass_hinting = ASS_HINTING_NATIVE + 4; // native hinting for unscaled osd +int ass_hinting = ASS_HINTING_LIGHT + 4; // light hinting for unscaled osd #ifdef CONFIG_FONTCONFIG extern int font_fontconfig;