RE: [gtkextra] No text is drawn
- From: Al Hooton <al hootons org>
- To: Owen Taylor <otaylor redhat com>
- Cc: scigraphica-gtkextra lists sourceforge net, MQ <marcodev comcast net>, gtk-list gnome org
- Subject: RE: [gtkextra] No text is drawn
- Date: Sat, 30 Jul 2005 06:42:00 -0700
On Sat, 2005-07-30 at 08:54 -0400, Owen Taylor wrote:
> On Thu, 2005-07-28 at 22:45 -0700, Al Hooton wrote:
> > FYI, for those interested, that bug is here (still not resolved), but
> > with further discussion:
> > http://bugzilla.gnome.org/show_bug.cgi?id=104341
> This has nothing to do with fonts not showing up. GTK+ and Xft will use
> in order:
> - Xft/DPI XSETTING
> - Xft.dpi X resource
> - DPI from the screen
> So if gnome-settings-daemon isn't there to provide the DPI, it will
> *still* have a DPI. GTK+ works perfectly fine in non-GNOME environments.
I've definitely not dug in to the details of this, so let me know if
I'm wrong. I had been lead to believe that if the app has to fall back
to the X resource dpi or the screen dpi that these may actually be wrong
in some situations, thus causing the problem. I have been able to
recreate this problem very reliably by doing the following:
- Install Mandrake 10.1 Official, installing all the included desktops
- Choose to run KDE as your desktop
- Run a gtk+ app (the test apps that come with gtkextra are where I
first saw this problem, but it affects many gtk+ apps for me if the
environment is installed as described above)
Once you see the very small fonts problem, run gnome-settings-daemon.
The problem is resolved and the fonts are a size that is readable.
Also, the problem was not exactly stated in the original post. It's
not that the fonts don't show up at all, it's that they are *extremely*
small, just one or two screen pixels tall and unreadable.
Lead maintainer of the linux-based open-source project Parapin.
] [Thread Prev