Trim font size by removing unused fonts
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3555785. --> Reported by: [catch](https://www.drupal.org/user/35733) Related to !161 !165 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Out of the box Mercury loads about 330kb of fonts on the front page of Byte (logged out).</p> <p>When you're logged into Drupal CMS as an admin, this increases to 900kb of fonts.</p> <p>One reason for this is that the Navigation bar loads its own variable version of the Inter font, while Mercury loads normal and italic versions.</p> <p>Given that normal and italic Inter are both loaded by default, I wonder if suing the variable version of the font might be neutral or possibly lighter.</p> <p>Also don't have a good idea yet, but finding a way to allow Mercury and Navigation to use the same font file when they have the same font requirement seems worth investigating.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <h3 id="summary-ui-changes">User interface changes</h3> <h3 id="summary-api-changes">API changes</h3> <h3 id="summary-data-model-changes">Data model changes</h3> > Related issue: [Issue #3444136](https://www.drupal.org/node/3444136) > Related issue: [Issue #3500331](https://www.drupal.org/node/3500331)
issue