[MPlayer-dev-eng] regression in pre6 with -font

Nicolas Pomarede npomarede at corp.free.fr
Fri Aug 9 10:57:24 CEST 2002


Hello,

I previously used the 0.90 pre5 version and used the following line in my
~/.mplayer/config :

font = /usr/local/share/mplayer/font/iso-8859-1/arial-28/font.desc


When running mplayer pre6, I now get the following error :


-------------

MPlayer 0.90pre6-2.96 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Intel Pentium 4 Xeon Foster (Family: 8, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

vo: X11 running at 1600x1200 with depth 24 and 32 bpp (":0.0" => local
display)
Reading /home/npomarede/.mplayer/codecs.conf: 38 audio & 104 video codecs
Font /usr/local/share/mplayer/font/iso-8859-1/arial-28/font.desc loaded
successfully! (206 chars)
Linux RTC init error: Permission denied
Using usleep() timing
Can't open input config file /home/npomarede/.mplayer/input.conf : No such
file or directory
Can't open input config file /usr/local/share/mplayer/input.conf : No such
file or directory
Falling back on default (hardcoded) input config
[cfg] read config file: /home/npomarede/.mplayer/gui.conf
SKIN dir 1: '/home/npomarede/.mplayer/Skin'
SKIN dir 2: '/usr/local/share/mplayer/Skin'
font: can't open file: /usr/local/share/mplayer/font/font.desc
Can't load font:  /usr/local/share/mplayer/font/iso-8859-1/arial-28/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Can't load font:  /usr/local/share/mplayer/font/iso-8859-1/arial-28/font.desc

[...]

-----------


My fonts are installed in /usr/local/share/mplayer/font :

ll /usr/local/share/mplayer/font
drwxr-xr-x    6 root     root         4096 Apr 12 19:11 iso-8859-1/

ll /usr/local/share/mplayer/font/iso-8859-1/
drwxr-xr-x    2 root     root         4096 Sep 27  2001 arial-14/
drwxr-xr-x    2 root     root         4096 Sep 27  2001 arial-18/
drwxr-xr-x    2 root     root         4096 Sep 27  2001 arial-24/
drwxr-xr-x    2 root     root         4096 Sep 27  2001 arial-28/
-rw-r--r--    1 root     root          244 Sep 27  2001 README



What's strange is that at first we have :

Font /usr/local/share/mplayer/font/iso-8859-1/arial-28/font.desc loaded
successfully! (206 chars)

and after that :
font: can't open file: /usr/local/share/mplayer/font/font.desc
Can't load font:/usr/local/share/mplayer/font/iso-8859-1/arial-28/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Can't load font:/usr/local/share/mplayer/font/iso-8859-1/arial-28/font.desc


mplayer seems to try the default font.desc in the install dir
(font/font.desc), which doesn't exist on my machine, but furthermore, it
says it can't load
/usr/local/share/mplayer/font/iso-8859-1/arial-28/font.desc (while it was
loaded succesfully just before).

This problem occurs when running mplayer with the gui (gmplayer), but it
also occurs (more randomly) when running the plain command line mplayer.

In order to suppress these messages, the only solution I found was to copy
all the files in arial-28/ into /usr/local/share/mplayer/font/.
This create some default font files, but the -font switch become useless
in that case.
This problem didn't occur in all the previous mplayer version I used.

Note that despite these messages, the font seems to be loaded, since I can
display the OSD time counter when pressing 'o'.

Hope you can fix this before the 1.0 release.

bye




More information about the MPlayer-dev-eng mailing list