0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

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.
This commit is contained in:
Grigori Goronzy 2009-08-06 23:00:12 +02:00 committed by Uoti Urpala
parent 1e98ef7789
commit f394231f5d
2 changed files with 2 additions and 2 deletions

View File

@ -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
.

View File

@ -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;