Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-11-19 19:44:42

strider
Member
Registered: 2010-08-31
Posts: 2

Xfce 4.14 font scaling not correct with Nvidia proprietary driver

Hi,
I have a 27 inch monitor in Quad HD resolution (2560*1440) driven by a Nvidia Card.
I use the proprietary driver which recognizes the correct resolution and correctly derives the dpi via EdId as I notice in my Xorg log :

NVIDIA(0): DPI set to (108, 107); computed from "UseEdidDpi" X config

However when I, after logon, right click the desktop to bring up the menu, I noticed that my fonts are not correctly scaled : they are larger then should be (I have set my font size via xfce settings to 9 dots which is a pretty small).

However I can get to correct font size by doing the following :
- Go to the appearance section of xfce settings
- Click on the 'custom dpi setting' (I see the value of 108 which corresponds to the Xorg log)
- Un-select the 'custom dpi setting' : any open application than gets the font size of 9 and also the desktop menu is correct.

I also noticed that at startup the command 'xrdb -query'  does not return a 'Xft.dpi' setting. When I click the 'custom dpi setting' and run the same command, I see the 'Xft.dpi' setting to the value I set (108). Unselect make it disappear again.

It's like the Xft setting triggers X to use my dpi setting for font scaling (for the X root window and any other windows). Unsetting it falls back on the dpi setting my nvidia driver has determined. But I'm just guessing here.

Any thoughts ?

PS. I use an up-to-date Arch linux install.

Offline

Board footer

Powered by FluxBB