#57430 closed defect (bug) (fixed)
Drop "local($font_family)" CSS while registering font-family in webfonts_handler
Reported by: | luehrsen | Owned by: | hellofromTonya |
---|---|---|---|
Milestone: | 6.2 | Priority: | normal |
Severity: | normal | Version: | 6.0 |
Component: | Themes | Keywords: | has-patch has-unit-tests commit gutenberg-merge |
Focuses: | Cc: |
Description
As discussed here, loading the local font file can lean to unexpected compatibility issues due to version or locale mismatches of the font.
Vendors like Google have dropped using local in their font delivery.
That is why I would propose dropping the local rule altogether.
Change History (14)
This ticket was mentioned in Slack in #themereview by luehrsen. View the logs.
2 years ago
This ticket was mentioned in PR #3826 on WordPress/wordpress-develop by @luehrsen.
2 years ago
#3
- Keywords has-patch has-unit-tests added
As discussed, loading the local font file can lean to unexpected compatibility issues due to version or locale mismatches of the font.
Vendors like Google have dropped using local in their font delivery.
That is why I would propose dropping the local rule altogether.
Trac ticket: https://core.trac.wordpress.org/ticket/57430
This ticket was mentioned in Slack in #core-editor by andraganescu. View the logs.
2 years ago
#6
@
23 months ago
- Milestone changed from Awaiting Review to 6.2
- Type changed from enhancement to defect (bug)
The new Fonts API being developed in Gutenberg is targeted for inclusion in WP 6.2. If committed, then this Trac ticket can be closed.
Why? The implementation currently in Core is a temporary stopgap. The new API will remove that code.
I'll move this ticket into 6.2 for tracking just in case the API isn't ready by Beta 1.
#7
@
23 months ago
- Owner set to hellofromTonya
- Status changed from new to assigned
The Fonts API being developed and then stabilized in Gutenberg is not ready for 6.2.
@aristath @luehrsen can you take a look at PR 3826 to fix this in the Core's stopgate code? If the patch is ready, Ari please add the commit
keyword. Let's get this fixed in 6.2.
#9
@
23 months ago
@aristath @luehrsen can you take a look at PR 3826 to fix this in the Core's stopgate code? If the patch is ready, Ari please add the commit keyword. Let's get this fixed in 6.2.
Patch looks good, commit
keyword added 👍
#11
@
22 months ago
- Keywords gutenberg-merge added
Adding the experimental keyword for tracking backports from Gutenberg into Core.
Though the Fonts API has not yet been backported, this same bugfix was done in Gutenberg PR 47254 to resolve the same problem reported in this Trac ticket. Hence, categorizing it as a backport.
@hellofromTonya commented on PR #3826:
22 months ago
#13
Committed via https://core.trac.wordpress.org/changeset/55314. Thanks for your contributions!
The PR connection seems to lag a bit, but a patch is ready here:
https://github.com/WordPress/wordpress-develop/pull/3826