Closed (fixed)
Project:
Drupal core
Version:
10.3.x-dev
Component:
navigation.module
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Apr 2024 at 16:29 UTC
Updated:
18 May 2024 at 08:19 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
nod_raising to major since it interferes with the normal use of the site.
We should be looking at potentially splitting the font up to reduce size see https://github.com/zachleat/glyphhanger
Comment #3
mherchel💯💯💯
Comment #6
plopescGood catch 💯
Added logic to include the font if only the toolbar is being rendered.
About font split. Do you think it has to be addressed here? Or might be moved to a lower priority follow up?
Comment #7
finnsky commentedRE
#3
#3
We need to check it first:
https://github.com/zachleat/glyphhanger/issues/22
To be sure that variable fonts supported. So i guess better to do it in separated ticket.
Comment #8
kanchan bhogade commentedHi,
I've tried to reproduce the issue on Drupal version 11.x
Please let me know if I've missed anything while reproducing the issue
Testing steps:
Adding screenshot
Comment #9
finnsky commentedJust checked in last tugboat. Seems all fine
@Kanchan Bhogade probably cache?
Comment #10
mherchelDefinitely a followup. Probably needs a bit of discussion and maybe even testing.
Comment #11
mherchelThanks for working on this! Looks to be working as expected now. In addition to the administrator/anonymous screenshots below, I also created an authenticated user that doesn't have access to use the navigation bar and made sure the font wasn't loading for them.
Looks great!
Comment #12
mherchelOpened followup: #3444136: Navigation: Discuss/implement splitting variable font
Comment #13
catch+1 on just moving the #attached['html_head_link'] this way, makes loads of sense.
Comment #14
catchCommitted/pushed to 11.x, thanks! Moving to 10.3.x for backport with the rest of the navigation commits.
Comment #17
catch