<table><tr><td style="">gikari created this revision.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />gikari 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/D27380">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>It has been reported, that on localized systems<br />
the font style was written in local language.<br />
Therefore config line was incorrectly read by<br />
GTK and therefore applications displayed bad<br />
font. To avoid that this commit is introduced.</p>

<p>This is not an ideal solution, because the selected<br />
font style in font dialog will be ignored by GTK applications.<br />
However, there is a workaround for that: you need to select a<br />
font with the style in its family name. For example: "Inter"<br />
with style "Medium" will be "Inter Medium". But some styles<br />
do not have these "clones", e.g. Regular, Bold and Italic.</p>

<p>At least ignored style with very easy workaround is better, than<br />
no ability to correctly apply a font at all with a very tedious<br />
workaround aka "manually editing a lot of GTK config files and options".</p></div></div><br /><div><strong>TEST PLAN</strong><div><ol class="remarkup-list">
<li class="remarkup-list-item">Apply fonts with style and see, that it is not propagated to GTK configs.</li>
<li class="remarkup-list-item">Apply fonts with the same styles in their family name to see, that they are working correctly.</li>
</ol></div></div><br /><div><strong>REPOSITORY</strong><div><div>R99 KDE Gtk Configuration Tool</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D27380">https://phabricator.kde.org/D27380</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kded/configvalueprovider.cpp</div></div></div><br /><div><strong>To: </strong>gikari<br /><strong>Cc: </strong>plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>