<table><tr><td style="">broulik created this revision.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.
</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/D6795" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This adds a <tt style="background: #ebebeb; font-size: 13px;">FontsPlugin</tt> that will apply system font settings to the browser as far as it can get.<br />
It only applies the font family for normal and monospace font but neither font size (since Chrome expects that in pixels but we use points) nor style (italic, bold)</p></div></div><br /><div><strong>TEST PLAN</strong><div><p><a href="https://phabricator.kde.org/F3815344" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;" rel="noreferrer">F3815344: Screenshot_20170720_113420.png</a></p>
<p>Before:<br />
<a href="https://phabricator.kde.org/F3815345" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;" rel="noreferrer">F3815345: Screenshot_20170720_113508.png</a><br />
After:<br />
<a href="https://phabricator.kde.org/F3815346" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;" rel="noreferrer">F3815346: Screenshot_20170720_113526.png</a></p>
<p>Verified that:</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">Fonts are applied on browser startup</li>
<li class="remarkup-list-item">Changing fonts in System Settings is applied immediately</li>
<li class="remarkup-list-item">Disabling the plugin reverts fonts back to browser's built-in defaults</li>
<li class="remarkup-list-item">Enabling the plugin applies fonts again</li>
<li class="remarkup-list-item">Changing fonts in System Settings is ignored when plugin is disabled</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R856 Plasma Browser Integration</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D6795" rel="noreferrer">https://phabricator.kde.org/D6795</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>extension/_locales/en/messages.json<br />
extension/constants.js<br />
extension/extension.js<br />
extension/manifest.json<br />
extension/options.html<br />
host/CMakeLists.txt<br />
host/fonts.cpp<br />
host/fonts.h<br />
host/main.cpp</div></div></div><br /><div><strong>To: </strong>broulik, davidedmundson, fvogt<br /><strong>Cc: </strong>plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas<br /></div>