RE: [gtkextra] No text is drawn

Owen Taylor <[email protected]> Sat, 30 Jul 2005 09:58:24 -0400
Newsgroups gmane.comp.gnome.gtk+.general,gmane.comp.scigraphica.gtkextra
Message-ID <1122731904.25242.27.camel@huygens>
On Sat, 2005-07-30 at 06:42 -0700, Al Hooton wrote:
> 	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.

If you monitor reports *wildly* wrong DDC information - it says it is 
10 feet across, say. Then you might have problems like this.

(Along similar lines one of the GTK+ hackers recently had a problem
where he put DisplaySize "10247x768" in his xorg.conf, not realizing
that that  line was the screen size in millimeters, not the resolution)

Regards,
						Owen

_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQBC64eAS+2LB0B90LERAvKUAKDCejb6q0U0D9kiuk/e0v2S+KjeowCaAhL9
6Vy/m7R3okI48rXhOVl62uk=
=OUPD
-----END PGP SIGNATURE-----