From e7d9078afcad18cae14e4653b1e945926471fbac Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 8 Dec 2003 12:14:32 +0000 Subject: Fontconfig support based on patch by Arwed von Merkatz , but slightly reworked git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11581 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/man/de/mplayer.1 | 2 ++ DOCS/man/en/mplayer.1 | 4 ++++ DOCS/xml/en/install.xml | 21 +++++++++++++++++++++ 3 files changed, 27 insertions(+) (limited to 'DOCS') diff --git a/DOCS/man/de/mplayer.1 b/DOCS/man/de/mplayer.1 index b108393eee..009bd8ab58 100644 --- a/DOCS/man/de/mplayer.1 +++ b/DOCS/man/de/mplayer.1 @@ -919,6 +919,8 @@ alte Schriftunterst \-font ~/\:.mplayer/\:arial\-14/\:font.desc .br \-font ~/\:.mplayer/\:arialuni.ttf +.br +\-font 'Bitstream Vera Sans' .RE .PD 1 . diff --git a/DOCS/man/en/mplayer.1 b/DOCS/man/en/mplayer.1 index d0bef28b6a..541c105a70 100644 --- a/DOCS/man/en/mplayer.1 +++ b/DOCS/man/en/mplayer.1 @@ -1164,6 +1164,8 @@ fonts: ~/\:.mplayer/\:font/\:font.desc, default for FreeType fonts: With FreeType, this option determines path to the text font file. .br The \-subfont-* options are available only with FreeType support compiled in. +.br +With Fontconfig, this option determines the fontconfig font name. .I EXAMPLE: .PD 0 @@ -1171,6 +1173,8 @@ The \-subfont-* options are available only with FreeType support compiled in. \-font ~/\:.mplayer/\:arial-14/\:font.desc .br \-font ~/\:.mplayer/\:arialuni.ttf +.br +\-font 'Bitstream Vera Sans' .RE .PD 1 . 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) + + using a TrueType (TTF) font, by the means of the + freetype library. Version 2.0.9 or greater is mandatory! Then + you have two methods: + + + use the option to specify a + TrueType font file on every occasion + + + create a symlink:ln -s /path/to/arial.ttf ~/.mplayer/subfont.ttf + + + + if compiled with fontconfig + support, the above methods won't work, instead the + 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: + + -- cgit v1.2.3