Wrong fontweight when combining google fonts
-
It happens in both options (anync with webfont loader) and async with preloading CSS.
When I search I’ve found a similar issue that happened before with this plugin https://ww.wp.xz.cn/support/topic/combining-google-font-requests-applies-the-wrong-font-weight/
Problem Origin and details:
<link href="https://fonts.googleapis.com/css?family=Poppins:600,regular,italic,|Poppins:700,&display=swap" rel="stylesheet">Results
<link href="https://fonts.googleapis.com/css?family=Poppins:700&display=swap" rel="stylesheet">It should combine instead:
<link href="https://fonts.googleapis.com/css?family=Poppins:600,regular,italic,700&display=swap" rel="stylesheet">I know it is not ideal to print the same font family twice. But some of the plugins/themes out there doing it and combining it like this will provide a better compatibility.
The topic ‘Wrong fontweight when combining google fonts’ is closed to new replies.