summaryrefslogtreecommitdiffstats
path: root/ass_mp.c
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@blackbox>2009-08-06 23:00:12 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-08-07 00:13:39 +0300
commitf394231f5de9d1ff679f1b2da4d1f1b303ae914a (patch)
treee08f491ed0a6b00923410612bb01d513864d8be8 /ass_mp.c
parent1e98ef77899e4314c2b3ada2388f9db61e0fd53d (diff)
downloadmpv-f394231f5de9d1ff679f1b2da4d1f1b303ae914a.tar.bz2
mpv-f394231f5de9d1ff679f1b2da4d1f1b303ae914a.tar.xz
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.
Diffstat (limited to 'ass_mp.c')
-rw-r--r--ass_mp.c2
1 files changed, 1 insertions, 1 deletions
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;