From ba4b44552fae50b66a06a51467cb62b3c59e7fb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20=C5=BDivkovi=C4=87?= Date: Tue, 21 Oct 2003 13:11:06 +0000 Subject: [PATCH] fixed mplayer font configuration git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1435 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- introduction/welcome/changelog.xml | 3 +++ multimedia/videoutils/mplayer/mplayer-config.xml | 14 +++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index 617f54ab84..64ba9f4005 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -11,6 +11,9 @@ who wrote what. +October 21st, 2003 [igor]: Fixed MPlayer subtitle font +configuration, added a note about config file. + October 20th, 2003 [larry]: openldap: expanded configuration section with a referral. diff --git a/multimedia/videoutils/mplayer/mplayer-config.xml b/multimedia/videoutils/mplayer/mplayer-config.xml index c9daf779ce..73abd2e989 100644 --- a/multimedia/videoutils/mplayer/mplayer-config.xml +++ b/multimedia/videoutils/mplayer/mplayer-config.xml @@ -9,13 +9,12 @@ If you wish to utilize a FreeType font, you need to link a TTF -file to your ~/.mplayer directory. For example: -ln -sf /usr/X11R6/lib/X11/fonts/TTF/luxisri.ttf /etc/mplayer/subfont.ttf +file to your ~/.mplayer directory. For example: +ln -sf /usr/X11R6/lib/X11/fonts/TTF/luxisri.ttf ~/.mplayer/subfont.ttf otherwise -ln -sf /usr/share/mplayer/font/font-arial-*-iso-8859-1 /etc/mplayer/font - -where * is the font size. You can chose your font size of 14, 18, 24 or 28. +ln -sf ../font-arial-[font size]-iso-8859-1/* /usr/share/mplayer/font +You can chose your font size of 14, 18, 24 or 28. Set up the GUI with the following commands executed @@ -31,9 +30,10 @@ MPlayer start in GUI mode automatically. If you want to decid in GUI mode or not, leave that line out and start mplayer with or as gmplayer (e.g. -when starting from a Window Manager menu or command prompt). +when starting from a Window Manager menu or command prompt). Note that +the main configuration file is called config if it +is placed in the ~/.mplayer directory. -