RE: [gtkextra] No text is drawn

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:
> > > 
> > >
> > > 
> > 
> > This has nothing to do with fonts not showing up. GTK+ and Xft will use
> > in order:
> > 
> >  - 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)


Attachment: signature.asc
Description: This is a digitally signed message part

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]