Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 78940

Summary: vlc 0.8.1 ebuild references no-existant timesbd.ttf
Product: Gentoo Linux Reporter: Ellis Whitehead <gentoo>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal CC: flameeyes
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 86419    
Bug Blocks:    

Description Ellis Whitehead 2005-01-21 05:21:06 UTC
The vlc 0.8.1 ebuild hardcodes vlc to use the following font:
/usr/X11R6/lib/X11/fonts/truetype/timesbd.ttf

The problem on my system is that this font isn't installed, and I don't know what package to install in order to get it.

The vlc ebuild should probably include a dependency to some specific font ebuild.

Reproducible: Always
Steps to Reproduce:
I emerged using the following USE settings:

Calculating dependencies ...done!
[ebuild   R   ] media-video/vlc-0.8.1  -3dfx +X -a52 +aalib -alsa (-altivec) +arts -bidi -cdda -cddb -cdio -debug -dts -dvb +dvd +esd -faad +fbcon +ffmpeg +flac +freetype -ggi -gnutls -hal -httpd -joystick -libcaca -lirc -live +mad +matroska +mozilla -mpeg2 +ncurses +nls +ogg +opengl +oss -stream -svg -svga -theora -utf8 -v4l -vcd -vlm +vorbis +wxwindows +xosd +xv 0 kB

When I try to play a video file (with or without subtitles) and press 'k' to switch subtitle language, the following error is shown on the console:

[00000XXX] freetype private error: failed to load font file /usr/X11R6/lib/X11/fonts/truetype/timesbd.ttf



Expected Results:
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-03-11 09:26:19 UTC
Seems like both the original font ( /usr/share/fonts/truetype/freefont/FreeSerifBold.ttf ) and the replacement ( /usr/X11R6/lib/X11/fonts/truetype/timesbd.ttf ) aren't in a typical gentoo system.

We can simply change the replacement with one of xorg, but this could be a problem if it's built without those fonts.
Another option could be to add a dependency on a free font like ttf-bitstream-vera and simply use it as replacement, this way we are sure that the font exists.
The problem of that solution is that it will add another dependency to the package.
Comment 2 Chris White (RETIRED) gentoo-dev 2005-03-27 20:40:30 UTC
All closed by bug #86419's resolving.