This is follow-up to #1134676: Only show fonts on the default theme.

Turning 'load fonts in all themes' off breaks font preview if admin theme != default theme; this is so in a standard install, and some users may even not realize they're using a different admin theme. Although 'load fonts in all themes' is on by default, there's still a potential for confusion. (doh, I even managed to get myself confused).

Proposed solution: add a warning if there are good reasons to believe the user is looking at a broken font preview.

Patch coming.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Drave Robber’s picture

Status: Active » Needs review
FileSize
1.7 KB

Patch attached.

BarisW’s picture

Another option would be to add a check in hook_preprocess_html() to see if we're on the admin page (admin/appearance/fontyourface/*) and if so; don't return.

Drave Robber’s picture

Then you could get sudden change in look as you go from admin/appearance to admin/appearance/fontyourface, if there are fonts with general selectors like <h2> or <p>.

Drave Robber’s picture

Priority: Normal » Minor

This is probably minor though.

Neslee Canil Pinto’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)