Re: [gtk-list] Text 1 pixel low in clist
- From: "Neil Hodgson" <neilh hare net au>
- To: <gtk-list redhat com>
- Subject: Re: [gtk-list] Text 1 pixel low in clist
- Date: Thu, 27 Jan 2000 10:08:57 +1100
I wrote,
> It looks to me as though GTK+'s clist (1.2.6) is displaying text 1
pixel
> below where it should be.
Further investigation shows that the problem is that the ascent and
descent fields of GdkFont are sometimes smaller what is actually covered by
the characters when drawn and also the ascent and descent returned by
gdk_string_extents(font_.id, "ÂÃÅÄ(){}g",
&lbearing, &rbearing, &width, &ascent, &descent);
I have played with the configuration of the font server, xfstt, and have
moved the problem out of some sizes only for it to reappear in other sizes.
Are the GdkFont fields meant to be used this way or are they an
approximation that normally gives OK results?
Or is this all a bug in the font server?
Neil
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]