changeset 7241:283561e2bef5

better subfont description, moved to the write place
author jonas
date Mon, 02 Sep 2002 00:34:20 +0000
parents a1ae7d811e35
children 8bafdfe945b4
files DOCS/mplayer.1
diffstat 1 files changed, 33 insertions(+), 32 deletions(-) [+]
line wrap: on
line diff
--- 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 <path\ to\ font.desc\ file>
-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 <value>
-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 <sec>
 Delays subtitles by <sec> 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 <value>
+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 <rate>
 Specify frame/sec rate of subtitle file (float number),
 default: the same fps as the movie.