[Pkg-xfce-devel] Bug#284229: Bug#284229: XFCE4: Fonts are smaller if X was started by 'startx'
- Subject: [Pkg-xfce-devel] Bug#284229: Bug#284229: XFCE4: Fonts are smaller if X was started by 'startx'
- From: michael.s.gilbert at gmail.com (Michael Gilbert)
- Date: Sun, 9 Sep 2007 13:50:52 -0400
- Message-id: <[🔎] 8e2a98be0709091050j3dee6ac4y665c1ff172c51ecf@mail.gmail.com>
- In-reply-to: <1187589233.17918.9.camel@hidalgo>
- References: <8e2a98be0708191959u353ea0b7x1ef4a8707d294c54@mail.gmail.com> <1187589233.17918.9.camel@hidalgo>
> You may want to check in /usr/share/gdm/defaults.conf
> and search for the server-Standards command.
here are the contents of that section in /usr/share/gdm/defaults.conf.
note that the DPI is not specified.
[server-Standard]
name=Standard server
command=/usr/bin/X -audit 0
flexible=true
here are the outputs of those commands you suggested
$ xrdb -query
*customization: -color
Xft.antialias: 1
Xft.hinting: 1
Xft.hintstyle: hintslight
Xft.rgba: rgb
$ xdpyinfo | grep reso
resolution: 126x126 dots per inch
$ grep DPI /var/log/Xorg.0.log
(--) NVIDIA(0): DPI set to (126, 126); computed from "UseEdidDpi" X config
i went and forced the dpi to 96 in /etc/gdm/gdm.conf, and now the
fonts are the correct size.
[server-Standard]
name=Standard server
command=/usr/bin/X -audit 0 -dpi 96
chooser=false
handled=true
flexible=true
priority=0
and here are the outputs now
$ xrdb -query
*customization: -color
Xft.antialias: 1
Xft.hinting: 1
Xft.hintstyle: hintslight
Xft.rgba: rgb
$ xdpyinfo | grep reso
resolution: 96x96 dots per inch
$ grep DPI /var/log/Xorg.0.log
(++) NVIDIA(0): DPI set to (96, 96); computed from -dpi X commandline option
maybe this is a problem with NVIDIA's DPI autodetection?
Reply to: