<table><tr><td style="">bruns created this revision.<br />bruns added reviewers: Plasma, fvogt.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />bruns requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D16530">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Qt and GTK based applications have switched to using fontconfig for fonts<br />
exclusively, so this code is mostly unused.</p>
<p>As for the remaining legacy X11 applications:</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">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.</li>
<li class="remarkup-list-item">the system dirs (sys_odir, sys_fdir) use KDEDIR(S), which is deprecated. The dirs do not exist, thus the fontpath is unchanged.</li>
<li class="remarkup-list-item">system dirs are typically allready included in the XServer font path</li>
</ul>
<p>TLDR: (scalable) fonts in user dirs are not picked up due to missing<br />
mkfontscale calls, and system dirs are already included.</p>
<p>This removes the dependency on xset and mkfontdir. The latter is important,<br />
as e.g. on openSUSE the availability of mkfontdir triggers costly, extra<br />
setup steps for X Core fonts on package installation.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>BRANCH</strong><div><div>drop_x_core_font_support</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D16530">https://phabricator.kde.org/D16530</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>startkde/startkde.cmake<br />
startkde/startplasma.cmake</div></div></div><br /><div><strong>To: </strong>bruns, Plasma, fvogt<br /><strong>Cc: </strong>plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>