diff options
author | Grigori Goronzy <greg@blackbox> | 2009-08-06 23:00:12 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-08-07 00:13:39 +0300 |
commit | f394231f5de9d1ff679f1b2da4d1f1b303ae914a (patch) | |
tree | e08f491ed0a6b00923410612bb01d513864d8be8 | |
parent | 1e98ef77899e4314c2b3ada2388f9db61e0fd53d (diff) | |
download | mpv-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.
-rw-r--r-- | DOCS/man/en/mplayer.1 | 2 | ||||
-rw-r--r-- | 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 . @@ -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; |