From 1e4f08c50cc5e3abb61c95903a270c8e281d2e5b Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 25 Sep 2013 21:40:35 +0200 Subject: options: make --ass-hinting a choice, instead of using magic numbers options.c still doesn't use the constants defined by the libass headers, but it's still better than exposing those to the user directly. --- DOCS/man/en/options.rst | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'DOCS/man/en') diff --git a/DOCS/man/en/options.rst b/DOCS/man/en/options.rst index 8b26e7f448..d6282015fd 100644 --- a/DOCS/man/en/options.rst +++ b/DOCS/man/en/options.rst @@ -122,15 +122,20 @@ Using this option may lead to incorrect subtitle rendering. -``--ass-hinting=`` +``--ass-hinting=none|light|normal|native`` Set font hinting type. can be: - :0: no hinting - :1: FreeType autohinter, light mode - :2: FreeType autohinter, normal mode - :3: font native hinter + :none: no hinting (default) + :light: FreeType autohinter, light mode + :normal: FreeType autohinter, normal mode + :native: font native hinter - The default value is 0 (no hinting). + .. admonition:: Warning + + Enabling hinting can lead to mispositioned text (in situations it's + supposed to match up with video background), or reduce the smoothness + of animations with some badly authored ASS scripts. It is recommended + to not use this option, unless really needed. ``--ass-line-spacing=`` Set line spacing value for SSA/ASS renderer. -- cgit v1.2.3