Closed starcraft66 closed 3 years ago
I cannot replicate. Make sure
xrdb -query Xft.dpi
returns the appropriate value. Putting it in Xresources is meaningless unless you actually merge it into xrdb.
My Xresources is definitely merged into xrdb. Here's the output of the command you posted on my machine:
@luna:~ ❯ xrdb -query Xft.dpi
Xcursor.size: 48
Xcursor.theme: breeze_cursors
Xft.antialias: 1
Xft.autohint: 0
Xft.hinting: 1
Xft.hintstyle: hintslight
Xft.lcdfilter: lcddefault
Xft.rgba: rgb
xft.dpi: 144
I don't think this issue should be closed.
look at the output you posted. xft.dpi has the wrong case.
Thanks for pointing it out, I missed it. Everything is working as expected now with the correct case!
Describe the bug When I open kitty, the text is rendered with a font size that is way too small and totally disregards the scaling factor of 1.5 applied on my system. Numerous closed issues I've looked at regarding HiDPI font sizes were closed telling the reporter to set
Xft.dpi
in~/.Xresources
. This is already the case on my system, I haveXft.dpi: 144
which pretty much every other application on the system respects. I've attached a screenshot showing Alacritty and Kitty side-by-side. Both are using a font size of 12. Alacritty properly multiplies the 12 by a factor of 1.5 but Kitty applies no scaling factor.To Reproduce Steps to reproduce the behavior:
Expected behavior I expect the text rendering to be larger and crisper than normal (HiDPI)
Screenshots Alacritty on the left, Kitty on the right. Both with the font size set to 12
Environment details Distributor ID: NixOS Description: NixOS 21.05 (Okapi) Release: 21.05.20210408.a5f6343 Codename: okapi