diff --git a/DOCS/mplayer.1 b/DOCS/mplayer.1 index fcdf556941..e54eabe114 100644 --- a/DOCS/mplayer.1 +++ b/DOCS/mplayer.1 @@ -764,46 +764,20 @@ Resample alphamap of the font. Can be: 10 bold black outline .TP .B \-font -Search for the OSD/SUB fonts in an alternative directory (default: -~/.mplayer/font/font.desc). +Search for the OSD/SUB fonts in an alternative directory (default for normal +fonts: ~/.mplayer/font/font.desc, default for FreeType fonts: +~/.mplayer/subfont.ttf). .br .I NOTE: -With FreeType, this option determines path to the text font file, +With FreeType, this option determines path to the text font file. .br .I NOTE: The \-subfont-* options are available only with FreeType support compiled in. +If FreeType support is enabled, the old font support can't be used. .I EXAMPLE: \-font ~/.mplayer/arial\-14/font.desc - \-font ~/.mplayer/my_cool_font.ttf -.TP -.B \-subfont-encoding -Sets the font encoding. When set to "unicode", all the glyphs from the -font file will be rendered and unicode will be used. This is also the -default setting. -.TP -.B \-subfont-text-scale <0\-100> -Sets the subtitle text autoscale coefficient (percentage of the -screen size). -.TP -.B \-subfont-osd-scale <0\-100> -Sets the osd elements autoscale coefficient. -.TP -.B \-subfont-blur <0\-8> -Sets the font blur radius. -.TP -.B \-subfont-outline <0\-8> -Sets the font outline thickness. -.TP -.B \-subfont-autoscale <0\-3> -Sets the autoscale mode. Can be: - - 0 no autoscale - 1 proportional to movie width - 2 proportional to movie height - 3 proportional to movie diagonal (default) - -Zero means that text-scale and osd-scale are font heights in points. + \-font ~/.mplayer/arialuni.ttf .TP .B \-noautosub Turns off automatic subtitles. @@ -849,6 +823,33 @@ Force subtitle demuxer type for \-subfile. .B \-subdelay Delays subtitles by seconds. Can be negative. .TP +.B \-subfont-autoscale <0\-3> +Sets the autoscale mode. Can be: + + 0 no autoscale + 1 proportional to movie width + 2 proportional to movie height + 3 proportional to movie diagonal (default) + +Zero means that text-scale and osd-scale are font heights in points. +.TP +.B \-subfont-blur <0\-8> +Sets the font blur radius (default: 2). +.TP +.B \-subfont-encoding +Sets the font encoding. When set to "unicode", all the glyphs from the +font file will be rendered and unicode will be used (default: unicode). +.TP +.B \-subfont-osd-scale <0\-100> +Sets the osd elements autoscale coefficient (default: 6). +.TP +.B \-subfont-outline <0\-8> +Sets the font outline thickness (default: 2). +.TP +.B \-subfont-text-scale <0\-100> +Sets the subtitle text autoscale coefficient (percentage of the +screen size) (default: 5). +.TP .B \-subfps Specify frame/sec rate of subtitle file (float number), default: the same fps as the movie.