Bug 268096

Summary: Setting DPI in kcm_fonts has no effect
Product: [Applications] systemsettings Reporter: Jaroslav Šmíd <jardasmid>
Component: kcm_fontsAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: alessandro.ufms, cfeck
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jaroslav Šmíd 2011-03-10 00:39:42 UTC
Version:           unspecified (using KDE 4.6.1) 
OS:                Linux

When I change DPI setting (to force 96 dpi), it has no effect. After logout, DPI is still not 96. I even tried to set it manually in
.fonts.conf:
<match target="pattern">
   <edit name="dpi" mode="assign"><double>96</double></edit>
</match>

and in .Xresources:
Xft.dpi: 96

Neither has effect on KDE/Qt/GTK apps. When I run gnome, I can change dpi there and it is also changed in KDE apps. I'm not 100% sure, but I think changing dpi in KDE 4.5.x worked and hasn't worked since 4.6

Reproducible: Always

Steps to Reproduce:
Change "Force fonts DPI" to e.g. 96, restart app or relogin.

Actual Results:  
DPI is not changed

Expected Results:  
DPI is changed to 96
Comment 1 Christoph Feck 2011-05-11 21:51:39 UTC
*** Bug 272998 has been marked as a duplicate of this bug. ***
Comment 2 Alessandro Nakamuta 2011-05-26 01:58:37 UTC
Still not working on kde 4.7 beta1.
Comment 3 Jekyll Wu 2012-12-04 04:32:08 UTC
Do you have the xrdb binary installed in your system?  KDE eventually needs to run that binary to apply the DPI change.