summaryrefslogtreecommitdiffstats
path: root/DOCS/xml/en/install.xml
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-12-08 12:14:32 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-12-08 12:14:32 +0000
commite7d9078afcad18cae14e4653b1e945926471fbac (patch)
treebcc99f41030e05c9110aeb24e63aa27dbf76b188 /DOCS/xml/en/install.xml
parenta6bd35c9a2d7618b5d9eeb17751e1fd8fddf04bf (diff)
downloadmpv-e7d9078afcad18cae14e4653b1e945926471fbac.tar.bz2
mpv-e7d9078afcad18cae14e4653b1e945926471fbac.tar.xz
Fontconfig support based on patch by Arwed von Merkatz <v.merkatz@gmx.net>, but slightly reworked
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11581 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/xml/en/install.xml')
-rw-r--r--DOCS/xml/en/install.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/DOCS/xml/en/install.xml b/DOCS/xml/en/install.xml
index 9cf5ff3eca..d57176e395 100644
--- a/DOCS/xml/en/install.xml
+++ b/DOCS/xml/en/install.xml
@@ -781,6 +781,27 @@ library. Version 2.0.9 or greater is mandatory! Then you have two methods:
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>