["
Webfont embedding is so widely supported by modern browsers at this point that there's really no excuse not to incorporate them when appropriate in your designs. There are hundreds of free fonts available for embedding, as well as plenty of paid services that allow you to include commercial fonts in your designs.<\/p>\n\nA lot of designers, it seems, are intimidated by the idea of
@font-face<\/code> embedding though. Even though it's been gaining popularity and support for the past couple of years, a lot of designers still stick to their usual collection of web safe fonts for the vast majority of their designs. On the rare occasion they do step out of their comfort zone and include a web font, they just go with a webfont subscription service rather than looking into DIY embedding or something like Google Web Fonts<\/a>.\n\nIn this article, I'll give you everything you need to know to start embedding your own fonts, and to start using Google Web Fonts. The code itself is simple, and I'll also break down exactly why we're using the code we're using. I'll even give you ten great examples of web font combinations that you can implement on your own designs in case you're not yet comfortable with typeface combos.\n\n
Legalities associated with font embedding<\/h1>\n\nIt's important to start out with a discussion of the legal issues that can be present when embedding fonts on your website. Not all fonts are licensed for that kind of usage, especially commercial fonts. Some require extended licenses, while others prevent the practice all together (or sell a service to handle the embedding for you).\n\nIt's important to check the EULA for whatever fonts you plan to use to make sure @font-face<\/code> embedding is permitted. If not, you'll either need to choose a different font, find out if there's a separate license you can purchase, or see if one of the web font services out there includes your font of choice.\n\n \n\n
@font-face<\/code> embedding is permitted. If not, you'll either need to choose a different font, find out if there's a separate license you can purchase, or see if one of the web font services out there includes your font of choice.\n\n \n\n
Options for embedding<\/h1>\n\nEmbedding fonts with @font-face<\/code> isn't particularly complicated, but it is a multi-step process. There are a couple of different ways to do this, including some free and paid services as well as a completely DIY method.\n\n
Options for embedding<\/h1>\n\nEmbedding fonts with @font-face<\/code> isn't particularly complicated, but it is a multi-step process. There are a couple of different ways to do this, including some free and paid services as well as a completely DIY method.\n\n
DIY embedding<\/h2>\n\nFor the best results and the most comprehensive browser support, you'll want to use a tool like Font Squirrel's @font-face<\/code> Generator. This free tool lets you upload any font you have appropriate permissions for and converts it to the various supported font file types for different browsers.\n\n
DIY embedding<\/h2>\n\nFor the best results and the most comprehensive browser support, you'll want to use a tool like Font Squirrel's @font-face<\/code> Generator. This free tool lets you upload any font you have appropriate permissions for and converts it to the various supported font file types for different browsers.\n\n
Read Next
15 Best New Fonts, July 2024
Welcome to our monthly roundup of the best fonts we’ve found online in the last four weeks. This month, there are fewer…
By Ben Moss
20 Best New Websites, July 2024
Welcome to July’s round up of websites to inspire you. This month’s collection ranges from the most stripped-back…
Top 7 WordPress Plugins for 2024: Enhance Your Site's Performance
WordPress is a hands-down favorite of website designers and developers. Renowned for its flexibility and ease of use,…
By WDD Staff
Exciting New Tools for Designers, July 2024
Welcome to this July’s collection of tools, gathered from around the web over the past month. We hope you’ll find…
3 Essential Design Trends, July 2024
Add some summer sizzle to your design projects with trendy website elements. Learn what's trending and how to use these…
15 Best New Fonts, June 2024
Welcome to our roundup of the best new fonts we’ve found online in the last month. This month, there are notably fewer…
By Ben Moss
20 Best New Websites, June 2024
Arranging content in an easily accessible way is the backbone of any user-friendly website. A good website will present…
Exciting New Tools for Designers, June 2024
In this month’s roundup of the best tools for web designers and developers, we’ll explore a range of new and noteworthy…
3 Essential Design Trends, June 2024
Summer is off to a fun start with some highly dramatic website design trends showing up in projects. Let's dive in!
15 Best New Fonts, May 2024
In this month’s edition, there are lots of historically-inspired typefaces, more of the growing trend for French…
By Ben Moss
How to Reduce The Carbon Footprint of Your Website
On average, a web page produces 4.61 grams of CO2 for every page view; for whole sites, that amounts to hundreds of KG…
By Simon Sterne
20 Best New Websites, May 2024
Welcome to May’s compilation of the best sites on the web. This month we’re focused on color for younger humans,…