https://bugs.kde.org/show_bug.cgi?id=431428
Bug ID: 431428 Summary: Hinting Cannot Change from Slight Product: systemsettings Version: 5.20.5 Platform: Archlinux Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: kcm_workspace Assignee: plasma-b...@kde.org Reporter: williams.jerry...@gmail.com Target Milestone: --- Created attachment 134734 --> https://bugs.kde.org/attachment.cgi?id=134734&action=edit Example fontconfig file SUMMARY In System Settings, the hinting style cannot be changed from "Slight". Applying the changes and restarting the app reverts the field to "Slight". The only way to change this was to set a value in a fontconfig file first (either ~/.config/fontconfig/fonts.conf or /etc/fonts/fonts.conf). I don't know if its intended to, but setting "Xft.hintstyle" in an X resource has no effect. STEPS TO REPRODUCE 1. Remove any file in /etc/fonts/conf.d that contains "hintstyle" and the hintstyle section in ~/.config/fontconfig/fonts.conf 2. Set (System Settings -> Fonts -> Fonts -> Hinting) to "Medium" 3. Apply 4. Close 5. Observe (System Settings -> Fonts -> Fonts -> Hinting) is "Slight" 6. Observe "hintstyle" does not appear in ~/.config/fontconfig/fonts.conf 7. Link a fontconfig file that sets "hintstyle" `sudo ln -s /etc/fonts/conf.avail/10-hinting-none.conf /etc/fonts/conf.d/` (example attached) 8. Set (System Settings -> Fonts -> Fonts -> Hinting) to "Full" 9. Apply 10. Close 11. Observe (System Settings -> Fonts -> Fonts -> Hinting) is "Full" 12. Observe "hintstyle" does not appear in ~/.config/fontconfig/fonts.conf 13. Repeat steps 1 - 5 OBSERVED RESULT The setting cannot change when the setting has not been set by fontconfig files. EXPECTED RESULT The setting should change even if no fontconfig files set the value. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux (5.10.5-arch1-1) KDE Plasma Version: 5.20.5 KDE Frameworks Version: 5.78.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.