RE: Tiny font workaound... maybe?

Al Hooton <[email protected]> Tue, 22 Feb 2005 20:35:21 -0800
Newsgroups gmane.comp.scigraphica.gtkextra
Message-ID <[email protected]>
On Tue, 2005-02-22 at 19:14 -0500, MQ wrote:
> 
> Al,
> when you have noticed the tiny font issue, has it been with gtkextra widgets
> or other widgets and gtk based applications also?

	It's everything using gtk.  I noticed it when I did my first install of
Mandrake 10.1 Official.  Lots of text was out of whack, in many
gtk-based apps.  That's when I started poking around and found this:

http://bugzilla.gnome.org/show_bug.cgi?id=104341

	This is the issue we're seeing.  It has nothing to do with GtkExtra
directly, but affects it.  My guess (only a guess) is that the "old"
approach of using the GdkFont stuff (as gtkextra-1 does) is not affected
because that whole set of libraries doesn't pick up the gconf dpi
setting.  Pango does, however, so gtkextra-2 is exposed to the problem
because of the port to Pango.  However, this is just a guess, I have not
had the time to dig down far enough to prove this is the case.

	I've been thinking more about this through the day, and shifting my
position some, so here's my completely unrequested and free-of-charge
opinion...  While it might be nice to hack gtkextra-2 to get around this
problem for a while, ultimately it shouldn't be in the gtkextra-2 code.
The pressure seems to be building on the Gnome/GTK teams to change GTK
so it uses the X server dpi instead of keeping it's own (at least, based
on the bug thread referenced above, see the last comment from the
Mandrake Cooker group).  The main gtkextra-2 codebase should wait for
the root cause bug to be fixed, before anything is done to gtkextra-2
itself (at least in the main CVS branch).

	There is also a *lot* of testing that would have to be done on
gtkextra-2 to know that the changes hadn't introduced other issues,
although I'm sure you're doing a good job with the changes, Marco.  At
this point, I would have to vote that these kinds of changes don't show
up in the main gtkextra-2 codebase.  Adrian, maybe there should be a
branch in CVS, if you want to incorporate Marco's work for others to
use, that wouldn't affect the gtkextra-2 mainline for the foreseeable
future?  Hopefully, before too much of this has to go on, an updated gtk
would be released that fixes the underlying problem.  Hey, I can
hope....

-Al


-- 


Al Hooton
al-at-hootons-dot-org

========
Maintainer of the linux-based open-source project Parapin.
http://www.sf.net/projects/parapin/
========




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click