diff options
author | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-03-08 16:13:21 +0000 |
---|---|---|
committer | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-03-08 16:13:21 +0000 |
commit | 686d57168f91e7314a0dc7a3ce95a905e83e49dc (patch) | |
tree | d87bc1c32a0dfb15d9f30966cd01ec6be74bf437 /DOCS | |
parent | 1f612555888ae906248cad0fad70667adce1c58f (diff) | |
download | mpv-686d57168f91e7314a0dc7a3ce95a905e83e49dc.tar.bz2 mpv-686d57168f91e7314a0dc7a3ce95a905e83e49dc.tar.xz |
Treat -font/-subfont as Fontconfig pattern in libass.
Patch by Adrian Stutz (adrian sttz ch).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28895 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/man/en/mplayer.1 | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/DOCS/man/en/mplayer.1 b/DOCS/man/en/mplayer.1 index dcb4214859..a66134e513 100644 --- a/DOCS/man/en/mplayer.1 +++ b/DOCS/man/en/mplayer.1 @@ -2253,14 +2253,14 @@ Use this if commas in subtitles are shown at the start of a sentence instead of at the end. . .TP -.B \-font <path to font.desc file> +.B \-font <path to font.desc file, path to font (FreeType), font pattern (Fontconfig)> 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 the path to the text font file. -With fontconfig, this option determines the fontconfig font name. +With Fontconfig, this option determines the Fontconfig font pattern. .sp 1 .I EXAMPLE: .PD 0 @@ -2270,6 +2270,8 @@ With fontconfig, this option determines the fontconfig font name. \-font ~/\:.mplayer/\:arialuni.ttf .br \-font 'Bitstream Vera Sans' +.br +\-font 'Bitstream Vera Sans:style=Bold' .RE .PD 1 . @@ -2508,8 +2510,8 @@ Currently useless. Same as \-audiofile, but for subtitle streams (OggDS?). . .TP -.B \-subfont <filename> (FreeType only) -Sets the subtitle font. +.B \-subfont <path to font (FreeType), font pattern (Fontconfig)> (FreeType only) +Sets the subtitle font (see \-font). If no \-subfont is given, \-font is used. . .TP |