D16530: Drop X11 core fonts code from startkde/startplasma

Stefan BrĂ¼ns noreply at phabricator.kde.org
Tue Oct 30 17:03:22 GMT 2018


bruns created this revision.
bruns added reviewers: Plasma, fvogt.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
bruns requested review of this revision.

REVISION 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.

REPOSITORY
  R120 Plasma Workspace

BRANCH
  drop_x_core_font_support

REVISION DETAIL
  https://phabricator.kde.org/D16530

AFFECTED FILES
  startkde/startkde.cmake
  startkde/startplasma.cmake

To: bruns, #plasma, fvogt
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20181030/5d8af52d/attachment.html>


More information about the Plasma-devel mailing list