4 https://forums.puri.sm/t/librem-13-v3-font-size-too-small-or-too-large/3711/3
\r
6 The librem 13 v3 has 1920x1080 px resolution, on 13". This is "hidpi".
\r
8 Standard PureOS shipped had much too small fonts and icons.
\r
10 xpdyinfo reported 96 dpi resolution, which is really wrong. In reality it's 166 dpi.
\r
12 I told X11 to use the real screen size, and Cinnamon uses this information correctly (KDE, Gnome, Mate, XFCE not)::
\r
14 $ cat /etc/X11/xorg.conf.d/90-librem-display.conf
\r
15 # xdpyinfo | grep -B2 resolution
\r
16 # https://wiki.archlinux.org/index.php/xorg#Display_size_and_DPI
\r
19 DisplaySize 294 166 # In millimeters
\r
22 I also had to set "Font scaling factor" in the cinnamon font settings to 1.3
\r
27 - http://doc.qt.io/qt-5/highdpi.html
\r
29 The traditional approach to supporting high DPI has been one where Qt scaled fonts automatically, and then provided a DPI value that application code could use to scale the rest of the UI.
\r
31 Setting the DPI value manually to a lower values gives better font sizes::
\r
33 $ QT_FONT_DPI=128 zeal
\r
35 Maybe the main issue is that Cinnamon pushes the configured font sizes (for Gtk) 1:1 to Qt, probably via the ``QT_QPA_PLATFORMTHEME`` variable.
\r
41 Edit ding executable, add::
\r