Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28054 - font alignment in xmms_osd plugin broke
Summary: font alignment in xmms_osd plugin broke
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High trivial (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 28059 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-06 08:53 UTC by CBke -Left- bye
Modified: 2003-09-09 21:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description CBke -Left- bye 2003-09-06 08:53:07 UTC
if the default font in xmms_osd plugin was not selected the offset and h_offset 
are not correct in startup

Reproducible: Always
Steps to Reproduce:
1.change font in the config window of xmms_osd plugin + enable it
2.restart xmms




i saw there was a patch in portage for 2.2.4 xmms_osd-2.2.4-gentoo.diff 
if you have a look at the source of xosd-2.2.4/src/xmms_plugin/xmms_osd.c in 
void apply_config (void)
you see that the font is set after the alignment
so changing

                xosd_set_pos (osd, pos);
                xosd_set_align (osd, align);
                if (xosd_set_font (osd, font) == -1)
                {
                        DEBUG("invalid font %s", font);
                }

in :
                if (xosd_set_font (osd, font) == -1)
                {
                        DEBUG("invalid font %s", font);
                }
                xosd_set_pos (osd, pos);
                xosd_set_align (osd, align);

fixes the bug and we all live happy ;)


my info :

 emerge info
Portage 2.0.49-r3 (mydefault-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.
0-test4-bk3)
=================================================================
System uname: 2.6.0-test4-bk3 i686 AMD Athlon(tm) processor
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O2 -mmmx -m3dnow -fomit-frame-pointer -mfpmath=387 
-funroll-loops"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config 
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O2 -mmmx -m3dnow -fomit-frame-pointer 
-mfpmath=387 -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox ccache buildpkg prelink autocvs"
GENTOO_MIRRORS=" http://ftp.gentoo.skynet.be/pub/gentoo/ http://ftp.easynet.
nl/mirror/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http:
//ftp.snt.utwente.nl/pub/os/linux/gentoo http://linux.rz.ruhr-uni-bochum.
de/download/gentoo-mirror/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 oss avi crypt cups encode gif jpeg libg++ libwww mad mikmod mmx motif 
mpeg ncurses nls pdflib png qt quicktime spell truetype xml2 xmms xv zlib 
directfb alsa gdbm slang readline aalib svga java X sdl gpm tcpd pam ssl perl 
python esd imlib oggvorbis opengl 3dnow dnow fbcon fbdev gtk2 php skey sse type1 
xml xosd -apm --arts --berkdb -foomaticdb --kde --gnome -gtk"
Comment 1 SpanKY gentoo-dev 2003-09-06 14:19:05 UTC
*** Bug 28059 has been marked as a duplicate of this bug. ***
Comment 2 SpanKY gentoo-dev 2003-09-09 21:08:25 UTC
2.2.4-r1 fixes it, thanks for the patch