Mercurial > mplayer.hg
diff DOCS/xml/en/install.xml @ 11580:90953d955165
Fontconfig support based on patch by Arwed von Merkatz <v.merkatz@gmx.net>, but slightly reworked
author | alex |
---|---|
date | Mon, 08 Dec 2003 12:14:32 +0000 |
parents | d480f7e36b74 |
children | 01cd5497870c |
line wrap: on
line diff
--- a/DOCS/xml/en/install.xml Mon Dec 08 12:03:03 2003 +0000 +++ b/DOCS/xml/en/install.xml Mon Dec 08 12:14:32 2003 +0000 @@ -781,6 +781,27 @@ RAW plugin too, see URL below) <!-- FIXME: where's that URL? --> </para></listitem> +<listitem><para> + using a TrueType (TTF) font, by the means of the <systemitem class="library"> + freetype</systemitem> library. Version 2.0.9 or greater is mandatory! Then + you have two methods: + <itemizedlist> + <listitem><para> + use the <option>-font /path/to/arial.ttf</option> option to specify a + TrueType font file on every occasion + </para></listitem> + <listitem><para> + create a symlink:<screen>ln -s /path/to/arial.ttf ~/.mplayer/subfont.ttf</screen> + </para></listitem> + </itemizedlist> + <para> + if compiled with <systemitem class="library">fontconfig</systemitem> + support, the above methods won't work, instead the <option>-font</option> + expects a fontconfig font name and defaults to the sans-serif font. To get + a list of fonts known to fontconfig, use <command>fc-list</command>. + Example: <option>-font 'Bitstream Vera Sans'</option> + </para> + </para></listitem> </itemizedlist> <para>