SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello everybody!
I have been using MPlayer successfully for a long time. Today I decided to compile the new rc1 version. Everything went smoothly except the fonts. Every time I start Mplayer I get the following error: "Cannot load bitmap font /path/to/font.ttf"
Untill now I have used a link from a ttf font to /home/user/.mplayer/subfont.ttf and it has worked perfectly. I wonder if you could help me as I have no idea what could it be.
You could try my SlackBuild script (or download the Slackware package) I made for MPLayer, which will use one of your already installed TTF fonts instead of looking for a font in ~/.mplayer (this is deprecated as far as I know): http://www.slackware.com/~alien/slackbuilds/MPlayer/ . If you want a script or the package that can read encrypted DVD's (using decss) go to http://www.alienbase.nl/slackware/re...uilds/MPlayer/ instead.
Finally I decided to use bitmap fonts , this is a major downgrade but I have no other option, at least for now...
If someone fins out how to use truetype fonts under Mplayer 1.0rc1, please let me know...
Finally I decided to use bitmap fonts , this is a major downgrade but I have no other option, at least for now...
If someone finds out how to use truetype fonts under Mplayer 1.0rc1, please let me know...
As I said, try my package (or use the SlackBuild script to compile it yourself) - when installing the package it will try to link /usr/share/mplayer/subfont.ttf to one of your existing TTF fonts. But only if that file/link does not yet exist.
Also, check your ~/.mplayer/config , maybe there are other locations where you've configured bitmap fonts for an older version of MPlayer that are now only trouble.
This is the comment in my SlackBuild about this:
Code:
# MPlayer will try to use one of the TrueType fonts present on the target
# system for it's On Screen Display (OSD) font.
# Slackware 11.0 ships with the Vera and DejaVu fonts, you may want to add
# more fonts to this list. The first font found will be used by creating a
# symbolic link "/usr/share/mplayer/subfont.ttf" to it.
# The use of bitmapped fonts is considered deprecated, but you can still use
# those if you want. Read http://www.mplayerhq.hu/DOCS/HTML/en/fonts-osd.html
# if you want to know more about OSD font configuration.
OSDFONTS="Arialuni.ttf arial.ttf DejaVuSans.ttf Vera.ttf"
Actually I tried your binary file but I had some dependency problems (with theora I guess)so I quited because I want to keep my slack really neat. BTW what packages are required in order to be able to run your binary with no problem???
I build my binaries on a full install of Slackware 11.0, with no other software installed. So I am curious what the complaint of the program was when it started?
Libtheora is part of Slackware 11.0 (slackware/l/libtheora-1.0alpha7-i486-1.tgz), so perhaps you just have to install that additional package from the Slackware CDROM.
I have Fedora Core 6 and after latest yum update my mplayer can't anymore load TTF font ~/.mplayer/subfont.ttf but load some default that is wide (I use Myriad ProCondensed for subtitles).
ldd /usr/bin/mplayer report that mplayer is linked/built with freetype support, freetype is installed, but without effect.
I try to load various TTF's manualy, by mplayer simple ignore that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.