[wp-trac] [WordPress Trac] #59165: Font Face: Server-side @font-face styles generator and printer

WordPress Trac noreply at wordpress.org
Mon Jun 24 18:47:08 UTC 2024


#59165: Font Face: Server-side @font-face styles generator and printer
-------------------------------------------------+-------------------------
 Reporter:  hellofromTonya                       |       Owner:
                                                 |  hellofromTonya
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.4
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  gutenberg-merge has-patch has-unit-  |     Focuses:
  tests has-testing-info has-screenshots commit  |
-------------------------------------------------+-------------------------

Comment (by tskk):

 Hello,

 Not sure if this is the correct place, but is it possible to make this :

 {{{
 <link rel="preload" href="montserrat-v26-latin-700.woff2" as="font"
 type="font/woff2" crossorigin>
 }}}

 instead of

 {{{
 @font-face{font-family:Montserrat;font-style:normal;font-weight:900;font-
 display:fallback;src:url('montserrat-v26-latin-900.woff2')
 format('woff2');}
 }}}


 because @font-face is causing CLS problems in PageSpeed test.

 Thanks,
 Srikanth

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59165#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list