Drop X11 core fonts code from startkde/startplasma

Authored by bruns on Nov 9 2018, 3:15 AM.

Description

Drop X11 core fonts code from startkde/startplasma

Summary:
Qt and GTK based applications have switched to using fontconfig for fonts
exclusively, so this code is mostly unused.

As for the remaining legacy X11 applications:

  • mkfontdir only supports bitmap (e.g. PCF, BDF) fonts. For e.g. truetype fonts, a mkfontscale call would be required. Lack of complaints hints this is not used at all.
  • the system dirs (sys_odir, sys_fdir) use KDEDIR(S), which is deprecated. The dirs do not exist, thus the fontpath is unchanged.
  • system dirs are typically allready included in the XServer font path

TLDR: (scalable) fonts in user dirs are not picked up due to missing
mkfontscale calls, and system dirs are already included.

This removes the dependency on xset and mkfontdir. The latter is important,
as e.g. on openSUSE the availability of mkfontdir triggers costly, extra
setup steps for X Core fonts on package installation.

Reviewers: Plasma, fvogt, davidedmundson

Reviewed By: Plasma, davidedmundson

Subscribers: plasma-devel

Tags: Plasma

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

Details

Committed
brunsNov 9 2018, 3:19 AM
Reviewer
Plasma
Differential Revision
D16530: Drop X11 core fonts code from startkde/startplasma
Parents
R120:c29d2528c184: [kioslave/desktop] Remove more QDBusInterface
Branches
Unknown
Tags
Unknown