Allow adding custom fonts via AssetLibrary
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3576865. -->
Reported by: [mglaman](https://www.drupal.org/user/2416470)
Related to !668
>>>
<h3 id="overview">Overview</h3>
<p>AssetLibrary builds an asset library for global CSS/JS. It can also be used to attach custom fonts by tracking the font's CSS file (which loads the font files themselves.)</p>
<p>This is for <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/canvas/-/work_items/3571536" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/canvas/-/work_items/3571536</a></span>, but the editor could expose a way to handle adding this data in the future.</p>
<h3 id="proposed-resolution">Proposed resolution</h3>
<p>AssetLibrary can track font CSS files to be added to it's `asset_library.$name` library.</p>
<h3 id="ui-changes">User interface changes</h3>
<p>None, this is API driven.</p>
issue