![]() ![]() These are the only two file types you should use because they are compressed in the gzip format by default (so they are very small), are optimised for the web, and are fully supported by IE 9+ and all other evergreen browsers. There are many font formats that can be used on the web, but only two formats are really needed if you don’t have to support Internet Explorer (IE) 8 or lower: woff and woff2. Let’s break down these points one at a time. Avoid invisible text during font loading. ![]() There are just four steps to consider when loading a custom web font: It’s time to break this loop and start doing the right thing in 2019. I see many developers ignoring these issues or perhaps making the same errors over and over just because “they have always done so”, but as web developers we need to be able to adapt in a constantly changing environment. This causes a lot of problems for page loading like performance issues, slow loading time, blocked rendering and swapped fonts during navigation. ![]() Custom web fonts are used everywhere around the world, but many (oh so many) sites load them improperly. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |