RE: No text is drawn
Al Hooton <[email protected]> Sat, 30 Jul 2005 06:42:00 -0700
| Newsgroups | gmane.comp.scigraphica.gtkextra,gmane.comp.gnome.gtk+.general |
|---|---|
| Message-ID | <[email protected]> |
Owen, 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. -Al -- Al Hooton al-at-hootons-dot-org ======== Lead maintainer of the linux-based open-source project Parapin. http://www.sf.net/projects/parapin/ ======== ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click