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

Bug 143686

Summary: media-video/mplayer-1.0_pre20060810 - broken TrueType font OSD/subtitles
Product: Gentoo Linux Reporter: Krzysztof Pawlik (RETIRED) <nelchael>
Component: New packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED INVALID    
Severity: normal CC: jakub
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Krzysztof Pawlik (RETIRED) gentoo-dev 2006-08-12 09:10:34 UTC
media-video/mplayer-1.0_pre20060810 has broken TrueType font rendering - it doesn't show OSD or subtitles at all - version 1.0_pre8-r1 works ok. Snapshot doesn't recognize subfont-* options in config too.

mplayer's config:

subcp=cp1250
subfont-autoscale=0
subfont-osd-scale=10
sub-bg-alpha=250
subfont-text-scale=36
subfont-text-scale=24
subfont-text-scale=16

font=/usr/share/fonts/corefonts/verdana.ttf


emerge --info:

Portage 2.1.1_pre5 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.18-rc4-ck1 i686)
=================================================================
System uname: 2.6.18-rc4-ck1 i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System version 1.12.4
Last Sync: Sat, 12 Aug 2006 11:30:09 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: [Not Present]
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium-m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="autoconfig ccache cvs distlocks java-strict metadata-transfer noinfo sandbox sfperms sign"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl http://ftp.heanet.ie/pub/gentoo/ http://distfiles.gentoo.org"
INSTALL_MASK="/usr/share/gtk-doc/"
LINGUAS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/nelchael/overlays/nelchael /home/nelchael/overlays/java/migrated-java-experimental-overlay /home/nelchael/overlays/java/java-experimental-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apm avi bash-completion berkdb bitmap-fonts bzip2 cairo cli crypt cups dlloader dri elibc_glibc emboss firefox foomaticdb fortran gdbm gstreamer gtk2 imlib input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog java5 jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux libg++ libwww mad mikmod mmx mmxext mp3 mpeg musepack ncurses nls nptl nsplugin offensive ogg opengl pam pcre pdflib png pppd qt4 quicktime readline reflection session spl sse sse2 ssl svg syslog truetype truetype-fonts type1-fonts udev userland_GNU video_cards_i810 vorbis xinerama xml xml2 xorg xscreensaver xv zlib"
Unset:  CTARGET, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-12 09:14:40 UTC
Have you tried w/ USE="iconv"?
Comment 2 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-08-12 09:17:31 UTC
Yes:

nelchael@nelchael ~$ cat /etc/portage/package.use/other | grep player | sed -e 's/\t/ /g'
media-video/mplayer    win32codecs fbcon rtc dvd theora aac encode iconv
net-www/mplayerplug-in   gtk
nelchael@nelchael ~$
Comment 3 Rafal Dejewski 2006-08-12 14:31:11 UTC
I've had the same. Then I've added iconv to USE. Recompiled, still no good, but noticed that at configure step mplayer still doesnt see iconv. Removed confcache from FEATURES and tried again. Its gold now.
Comment 4 Luca Barbato gentoo-dev 2006-08-14 01:56:29 UTC
I think you are missing unicode
Comment 5 Krzysztof Pawlik (RETIRED) gentoo-dev 2007-01-08 22:01:45 UTC
I can't reproduce it anymore with media-video/mplayer-1.0_rc1-r1