How to import Google Web Font in CSS file?

Use the @import method: Obviously, “Open Sans” (Open+Sans) is the font that is imported. So replace it with yours. If the font’s name has multiple words, URL-encode it by adding a + sign between each word, as I did. Make sure to place the @import at the very top of your CSS, before any rules. Google Fonts can automatically generate the @import directive … Read more

Failed to decode downloaded font

In the css rule you have to add the extension of the file. This example with the deepest support possible: EDIT: “Failed to decode downloaded font” means the font is corrupt, or is incomplete (missing metrics, necessary tables, naming records, a million possible things). Sometimes this problem is caused by the font itself. Google font … Read more

Why do fonts appear jagged in Chrome?

In windows 10: Go to the windows search, search for “This PC” right click and choose properties Go to advanced system settings Click the settings button in the performance group Check the box for “Smooth edges of screen fonts” Restart computer and your fonts will be back to normal