From 4ccfbf8795866ddc6ff21eae37bdb55d3d3ec76f Mon Sep 17 00:00:00 2001 From: diego Date: Wed, 13 Sep 2006 14:33:54 +0000 Subject: [PATCH] Improve TrueType font installation section. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19829 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/xml/en/install.xml | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/DOCS/xml/en/install.xml b/DOCS/xml/en/install.xml index 22958734cd..a01daa2104 100644 --- a/DOCS/xml/en/install.xml +++ b/DOCS/xml/en/install.xml @@ -447,29 +447,30 @@ can be properly scaled to the movie size and cope better with different encodings. + TrueType fonts - - - Use the - option to specify a TrueType font file on the command line. - - - Create a symlink - ln -s /path/to/sample_font.ttf ~/.mplayer/subfont.ttf - for each user individually or a system-wide one: - ln -s /path/to/sample_font.ttf /usr/local/share/mplayer/subfont.ttf - - - If MPlayer was compiled with - fontconfig support, the above methods - won't work, instead expects a - fontconfig font name - and defaults to the sans-serif font. To get a list of fonts known to - fontconfig, - use fc-list. Example: +There are two ways to get TrueType fonts to work. The first is to pass +the option to specify a TrueType font file on +the command line. This option will be a good candidate to put in your +configuration file (see the manual page for details). +The second is to create a symlink called subfont.ttf +to the font file of your choice. Either +ln -s /path/to/sample_font.ttf ~/.mplayer/subfont.ttf +for each user individually or a system-wide one: +ln -s /path/to/sample_font.ttf $PREFIX/share/mplayer/subfont.ttf + + + +If MPlayer was compiled with +fontconfig support, the above methods +won't work, instead expects a +fontconfig font name +and defaults to the sans-serif font. To get a list of fonts known to +fontconfig, +use fc-list. Example: mplayer -font 'Bitstream Vera Sans' anime.mkv