On Thu, 3 Aug 2017, Felix Miata wrote:
Felmon Davis composed on 2017-08-03 00:57 (UTC-0400):
I'm also suffering a tiny fonts problem on an
Asus Ux330u with an QHD
screen. the fonts on the taskbar (kicker) and the font on the menu
window of Trinity Control Center' are miniscule as are fonts on
applications like LibreOffice, GIMP, Pan, etc. as far as I can tell,
it affects all apps, whether Gnome or KDE.
the thing also boots to Gnome (Gnome or so-called
Debian Desktop
Environment and Cinnamon) and to Windows 10, no problem with fonts. if
I were only sure which config files to steal from Gnome!
xdpyinfo |grep -B2 resolution -->
dimensions: 3200x1800 pixels (846x476 millimeters)
resolution: 96x96 dots per inch
I've tried various settings in fonts enabling
and disabling dpi. does
seem to do best with
Enabled
120 DPI
using exegnu version.
What version of GTK3 does EXEGNU use? If > 3.16, you might be experiencing:
https://bugzilla.gnome.org/show_bug.cgi?id=757142
and some of its progeny, such as:
https://bugzilla.mozilla.org/show_bug.cgi?id=1269274
not sure how to determine this. if I do
apt-cache policy libgtk2.0-0
I get: "Installed: 2.24.31-2"
Setting DPI in your TDE Control Center's fonts
menu should produce the following
on your system:
# xrdb --query | grep dpi
Xft.dpi 120
I get this too. (with '-query').
I notice the following:
xdpyinfo |grep dimension -->
3200x1800 pixels (846x476 millimeters)
xdpyinfo |grep dot --> 96x96 dots per inch
Xft.dpi does not apply to all of Xorg and Xorg
applications. To enjoy 120 DPI in
all of Xorg, 120 must be applied /to/ Xorg. There are various ways to do that. I
do it globally in one of two ways:
1-setting DisplaySize in /etc/X11/xorg.conf*
not sure what DisplaySize should be.
I don't have such a file; attempting to produce it using
X :0 -configure
as root and with X shut down produces a segfault; it does produce a
skeleton xorg.conf.new file. evidently I'm doing this wrong.
perhaps this is enough for further trouble-shooting; what do I do
next? (I prefer to set up an xconfig file.)
f.
2-xrandr in a global startup script somewhere in
/etc/X11/.
For those using a proprietary NVidia video driver, there exists an explicit dpi
option for the xorg.conf its installation created. An alternate method I do not
employ is finding the xinit script that actually starts Xorg and editing the
start line to include the desired DPI value.
Done correctly, xdpyinfo will also report 120.
Also if done correctly, and GTK3 version is 3.16.x or less, the global Xorg DPI
setting will make the TDE Control Center DPI setting redundant, thus
unnecessary. If GTK3 is >3.16.x, then Xft.dpi will ultimately need to be set to
match the desired setting, which can be done in /etc/X11/*Xresources or
.Xresources as well as indirectly in TDE Control Center DPI.
I don't know why TDE Control Center DPI has only the three choices, but setting
Xft.dpi through other means offers choosing any arbitrary value, e.g. 168, 133,
220, etc. Global Xorg DPI is similarly unlimited.
--
Felmon Davis
"Life is too important to take seriously."
-- Corky Siegel