[Fonts KCM] Generate font rendering previews only on X

Authored by broulik on Jul 9 2018, 12:00 PM.

Description

[Fonts KCM] Generate font rendering previews only on X

It uses Xft unconditionally and crashes the entire module when run on Wayland.

BUG: 396214
FIXED-IN: 5.13.3

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

Details