From kde Sun Oct 01 11:25:19 2006 From: James Richard Tyrer Date: Sun, 01 Oct 2006 11:25:19 +0000 To: kde Subject: Re: [kde] font size, dpi and rendering in KDE and Gnome Message-Id: <451FA59F.4010907 () acm ! org> X-MARC-Message: https://marc.info/?l=kde&m=115970193720155 Dexter Filmore wrote: > Am Freitag, 29. September 2006 18:37 schrieb Felix Miata: >> When qt and gtk apps are all set to the "same" fonts but they don't >> actually match, it means kde and gtk are using different DPI values. > > There's the phrase I was waiting for to appear: "different DPI values". > I put screen size in xorg.conf, so dpi is gathered automatically. > Now where do KDE and Gtk get _different_ values than those calculated by X? I don't know exactly how GTK was managing to get it wrong, but that is the problem. There was a bug in GTK which resulted in it getting a slightly incorrect DPI. The GIMP was reporting 99.x DPI as the default. It did this despite the fact that I was using the X command line parameter: "-dpi 100" to try to fix it. So, I suggest that you either upgrade GTK or open the GNOME Control Center and try setting the DPI for GNOME apps directly. -- JRT ___________________________________________________ This message is from the kde mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.