The more you work development, the more likely you're going to see people asking you to incorporate custom fonts into their project.. For example, you can copy the code necessary to paste into your stylesheet... But what if someone provides you with set of fonts that they want to use in their project that are in file format and that are not hosted on some type of content-delivery network... This is not the post that's going to discuss the various licensing types, except make sure that you have permission for the font.. OpenType format is superset of TrueType and Adobe® PostScript® Type 1 font formats. Third, stylesheets, and with incorporating them within the context of WordPress plugin, I find that like with anything else keeping things organized important.. Sometimes this also includes images and, in this example, it also includes fonts... Once the fonts are placed in the directory, it's easy to include them in your stylesheet. To be complete, it's worth noting that you hook up the stylesheets as you would any others in plugin. Sure, worth noting are do not use illegal fonts, organize your assets, define them, then use them along with proper fallback...
Read more