# HG changeset patch # User jonas # Date 1030926860 0 # Node ID 283561e2bef5baf06289341a69ed6b3ad9949a7c # Parent a1ae7d811e35d2d21886a3f40971d24442a46a13 better subfont description, moved to the write place diff -r a1ae7d811e35 -r 283561e2bef5 DOCS/mplayer.1 --- a/DOCS/mplayer.1 Sun Sep 01 23:33:30 2002 +0000 +++ b/DOCS/mplayer.1 Mon Sep 02 00:34:20 2002 +0000 @@ -764,46 +764,20 @@ 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 @@ .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.