[openbox] Openbox pango patch from Gentoo

John Russell jjrussell at gmail.com
Fri May 6 12:38:29 EDT 2005


Aren't you glad you tried to help anyway?  And don't top post.  It'll
curve your spine.

On 5/6/05, Mikael Magnusson <mangosoft at comhem.se> wrote:
> That doesn't help me a lot since i wrote that code, and it has been in CVS
> for a while.
> 
> On Fri, 6 May 2005, Rafal Muzylo wrote:
> 
> > I don't know if it was sent upstream, so I'm sending it here.
> > (It's my first contact with a mailing list, usually I prefer
> > forums, so maybe I'm missing something)
> >
> >> From http://bugs.gentoo.org/show_bug.cgi?id=87160 :
> > --- render/font.c.old   2005-03-25 00:34:52.000000000 +0100
> > +++ render/font.c       2005-05-01 20:47:51.000000000 +0200
> > @@ -234,8 +234,9 @@
> >      g_object_unref(context);
> >      return result;
> >  */
> > -    return f->xftfont->ascent + f->xftfont->descent +
> > -        (f->shadow ? f->offset : 0);
> > +    gint x, y;
> > +    font_measure_full(f, " ", &x, &y);
> > +    return y;
> >
> > #endif /* USE_PANGO */
> > }
> >
> > And a question: except that execvp patch, are there
> > other patches I should apply to 3.3-rc1 ?
> >
> 
> --
> Mikael Magnusson
>



More information about the openbox mailing list