add preview images to fonts kcm

Authored by progwolff on Apr 22 2018, 3:35 PM.

Description

add preview images to fonts kcm

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.

Reviewers: Plasma, harmathy, mart, davidedmundson, ngraham

Reviewed By: Plasma, harmathy, mart, ngraham

Subscribers: ngraham, davidedmundson, abetts, broulik, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D11064

Details

Committed
davidedmundsonApr 22 2018, 3:35 PM
Reviewer
Plasma
Differential Revision
D11064: add preview images to fonts kcm
Parents
R119:e6642a95ff1b: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown