<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>28054</bug_id>
          
          <creation_ts>2003-09-06 08:53 0000</creation_ts>
          <short_desc>font alignment in xmms_osd plugin broke</short_desc>
          <delta_ts>2003-09-09 21:08:25 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>cb@linux.be</reporter>
          <assigned_to>sound@gentoo.org</assigned_to>
          <cc>vapier@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>cb@linux.be</who>
            <bug_when>2003-09-06 08:53:07 0000</bug_when>
            <thetext>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(&quot;invalid font %s&quot;, font);
                }

in :
                if (xosd_set_font (osd, font) == -1)
                {
                        DEBUG(&quot;invalid font %s&quot;, 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=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-march=athlon-tbird -O2 -mmmx -m3dnow -fomit-frame-pointer -mfpmath=387 
-funroll-loops&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/etc /var/qmail/control /usr/share/config 
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
CXXFLAGS=&quot;-march=athlon-tbird -O2 -mmmx -m3dnow -fomit-frame-pointer 
-mfpmath=387 -funroll-loops&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs sandbox ccache buildpkg prelink autocvs&quot;
GENTOO_MIRRORS=&quot; 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/&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://rsync.europe.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-09-06 14:19:05 0000</bug_when>
            <thetext>*** Bug 28059 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-09-09 21:08:25 0000</bug_when>
            <thetext>2.2.4-r1 fixes it, thanks for the patch</thetext>
          </long_desc>
      
    </bug>

</bugzilla>