You are not logged in.
I updated my system this morning. Since then, terminal fonts are larger than they should be. That is, I usually have Liberation Mono with size 9 in my terminal and DejaVu Sans Mono with size 7 in dwm as well as dmenu. However, I had to set Liberation Mono to size 7 and DejaVu Sans Mono to size 5 to achieve the same look as they had before. The behavior is consistent across terminals (tested: urxvt, st, xterm).
I didn't see any announcements regarding DPI or font changes, and I don't even know where to start looking for the cause of this. Any hints appreciated. The list of updated/installed packages during the update can be found here: https://0x0.st/XzwO.log.
Last edited by rochus (2024-04-02 09:05:17)
Offline
Possibly something in the harfbuzz update and/or pango?
Last edited by V1del (2024-04-02 08:31:38)
Online
urxvt -fn "xft:DejaVu Sans Mono:pixelsize=11"
Using the pixelsize syntax will get you consistent results and also allow more finegrained control (but isn't DPI aware if you change outputs)
Did only the font size change or also the appearance (ie. they look more condensed/taller)?
xrandr -q
xdpyinfo | grep resol
xrdb -q | grep -i dpi
If you've a ~125dpi output and previously been running on 96dpi that would check out…
Offline
Thanks for the hint, seth! The culprit was a new monitor that I attached to the system which has higher DPI than the first one. I didn't reboot since attaching until this morning, and it appears that the nvidia driver pulls the DPI information from this particular monitor instead of the first. Using 'pixelsize' instead of 'size' solves the issue.
Offline
You can set the dpi w/ "xrandr --dpi" but also as Xorg server parameter and the nvidia drivers support an xorg config(let) option for it:
https://wiki.archlinux.org/title/Xorg#D … ze_and_DPI
Offline