Red Hat Display not rendered correctlyd
Author: reklamasieciowaCreated Oct 20, 2024Updated Oct 20, 2024
Hi, I installed 3 fonts locally today. Roboto and Poppins work great. Red Hat Display does not render correctly. Chrome and FF display Arial. The declarations are correct, perhaps the files are corrupted. With webfont.js it renders correctly.
<script type="text/javascript"> WebFontConfig = { google: { families: [ 'Red+Hat+Display:400,500,600,700,800:latin-ext&display=swap' ] } }; (function() { var wf = document.createElement('script'); wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js'; wf.type = 'text/javascript'; wf.async = 'true'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(wf, s); })(); </script>
Source: majodev/google-webfonts-helper