progwolff created this revision. progwolff added reviewers: Plasma, harmathy, mart. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel. progwolff requested review of this revision.
REVISION SUMMARY The fonts kcm offers different font rendering settings. Currently, one needs to apply the settings and reopen the application to see the changes. This patch adds a way to render fonts at different settings (mostly based on existing code in kfontinst) and adds preview images to the sub-pixel and hinting comboboxes. This is part of a planned redesign of the fonts kcm. See the discussion in https://phabricator.kde.org/T7927 TEST PLAN Open the fonts kcm, click on the sub-pixel combobox. The preview images should look different. REPOSITORY R119 Plasma Desktop BRANCH master REVISION DETAIL https://phabricator.kde.org/D11064 AFFECTED FILES kcms/CMakeLists.txt kcms/fonts/CMakeLists.txt kcms/fonts/fonts.cpp kcms/fonts/package/contents/ui/main.qml kcms/fonts/previewimageprovider.cpp kcms/fonts/previewimageprovider.h kcms/fonts/previewrenderengine.cpp kcms/fonts/previewrenderengine.h kcms/kfontinst/lib/FcEngine.cpp kcms/kfontinst/lib/FcEngine.h To: progwolff, #plasma, harmathy, mart Cc: plasma-devel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart