You are not logged in.
QtCreator is on the left side, alacritty with nvim is on the right side. Same font, same size, no user fontconfig.
Is there any way I can configure qtcreator to provide sharper font rendering?
https://i.imgur.com/PRu9ann.png
xrandr -q
Screen 0: minimum 8 x 8, current 5120 x 1440, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 2560x1440+2560+0 (normal left inverted right x axis y axis) 597mm x 336mm
2560x1440 59.95*+
1920x1200 59.88
1920x1080 60.00 59.94 50.00
1680x1050 59.95
1440x900 59.89
1280x1024 75.02 60.02
1280x720 60.00 59.94 50.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32
720x576 50.00
720x480 59.94
640x480 75.00 72.81 59.94 59.93
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
2560x1440 59.95 + 143.97* 120.00
1920x1080 143.98 119.93 60.00 59.94 50.00
1680x1050 119.99 59.95
1440x900 119.85 59.89
1440x576 50.00
1440x480 59.94
1280x1024 119.96 75.02
1280x720 119.88 59.94 50.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
720x576 50.00
720x480 59.94
640x480 75.00 72.81 59.94 59.93
DP-5 disconnected (normal left inverted right x axis y axis)
USB-C-0 disconnected (normal left inverted right x axis y axis)/etc/X11/xorg.conf.d/**-.conf
Section "Device"
Identifier "NVIDIA"
Driver "nvidia"
EndSection
Section "Monitor"
Identifier "DP-4"
Option "DPMS" "true"
EndSection
Section "Monitor"
Identifier "HDMI-0"
Option "DPMS" "true"
Option "Primary" "true"
EndSection
Section "ServerFlags"
Option "OffTime" "10"
Option "BlankTime" "5"
Option "StandbyTime" "10"
Option "SuspendTime" "10"
EndSection
Section "Screen"
Identifier "Screen0"
Option "metamodes" "DP-4: 2560x1440_144 +0+0, HDMI-0: 2560x1440_60 +2560+0"
EndSectionLast edited by fasked (2024-02-21 16:02:27)
Offline
Please replace the oversized image w/ a link.
Looks like hinting to me, https://wiki.archlinux.org/title/Font_c … on#Hinting & https://wiki.archlinux.org/title/Font_c … ig_support
Is QtCreator a flatpak or something like that?
The font in the row number column is btw. not the same.
Offline
Please replace the oversized image w/ a link.
Done, thank you!
Is QtCreator a flatpak or something like that?
It's native package installed from https://archlinux.org/packages/extra/x86_64/qtcreator/
Looks like hinting to me, https://wiki.archlinux.org/title/Font_c … on#Hinting & https://wiki.archlinux.org/title/Font_c … ig_support
Thank you, I will try to change settings in ~/.Xresources and fonts.conf.
Last edited by fasked (2024-02-20 07:30:14)
Offline
Looks like the only option in fonts.conf that affects qtcreator is antialias, hinstyle doesn't change anything.
Offline
https://unix.stackexchange.com/question … plications
108 DPI isn't particularly "high", but hey…
Offline
Looks like hinting to me
Oh, it looks like I have to set hintfull and enable autohinter. The font is good now.
Thanks for your help.
Offline