Home › Forums › Support › Google Fonts display:swap This topic has 11 replies, 2 voices, and was last updated 4 years, 3 months ago by David. Viewing 12 posts - 1 through 12 (of 12 total) Author Posts December 13, 2021 at 9:14 am #2047742 mogudasl Hello, I have added the code add_filter( ‘generate_google_font_display’, function() { return ‘swap’; } ); on the child theme and I still get the problem in pagespeed …fonts/generatepress.woff2. (“web”). 10 ms …v36/4UaGrENHs….woff2(fonts.gstatic.com). 0 ms …v18/KFOmCnqEu….woff2(fonts.gstatic.com). 0 ms …v36/4UaGrENHs….woff2(fonts.gstatic.com). 0 ms …v36/4UabrENHs….woff2(fonts.gstatic.com). 10 ms December 13, 2021 at 2:42 pm #2047981 DavidStaff Customer Support Hi there, you can remove the generatepress.woff2 by going to Customizer > General and changing the Icon Type to SVG And what is the issue being reported in Page Speed ? December 14, 2021 at 12:59 am #2048342 mogudasl Ok, I have made the change. The issue is : “Make sure the text remains visible while the web font is loading” December 14, 2021 at 2:20 am #2048421 DavidStaff Customer Support Have you updated to the new typography settings in Customizer > General ? December 14, 2021 at 2:59 am #2048478 mogudasl SVG ? Yes December 14, 2021 at 3:16 am #2048489 DavidStaff Customer Support Go to Customizer > Typography – does it still look like the screenshots here? https://docs.generatepress.com/article/typography-overview/ December 14, 2021 at 3:40 am #2048513 mogudasl I send screenshot December 14, 2021 at 3:49 am #2048516 DavidStaff Customer Support Hmmm….I cannot see the GeneratePress request for the Fonts. Are you using any Optimization plugins that manage the font loading ? December 14, 2021 at 4:09 am #2048536 mogudasl I only use wp rocket. Could you tell me what should appear ” the GeneratePress request for the Fonts “? December 14, 2021 at 4:25 am #2048557 DavidStaff Customer Support Have a chat with WP Rocket support as their plugin should automatically do that for you – see here: https://docs.wp-rocket.me/article/1312-optimize-google-fonts December 14, 2021 at 8:17 am #2048971 mogudasl Hello, I have read the article, the solution to the problem is to upload the plugin Change Google fonts display attribute ?. In the latest version of wp rocket it does not appear to optimize fonts December 14, 2021 at 9:08 am #2049034 DavidStaff Customer Support Yep – looks like they changed it to a separate helper plugin you will need to install. Author Posts Viewing 12 posts - 1 through 12 (of 12 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In