@font-your-face provides an administrative interface for browsing and applying web fonts (using CSS @font-face, supported in all popular browsers) from a variety of sources. Try it out on simplytest.me.
@font-your-face now has a stable release for Drupal 8! Give it a try today!
- A font browsing interface allows selection of fonts from from several providers:
- Fonts are automatically loaded on site simply by clicking "Enable"; no need to create font files, write CSS, add JS, nor figure out different methods for every font provider.
- Clear indication of license restrictions on provided fonts.
- Fonts can be applied to specific text on the site either by using the provided font-family identifier in theme CSS, or by typing a CSS selector directly in the @font-your-face interface.
- The @font-your-face code is designed for re-use, so other modules can both supply and read active and available font information.
- You can also import your own local fonts in WOFF format.)
- Fonts can be exported/imported(7.x-2.x via Features, 8.x via core configuration)
- Automated tests (8.x via TravisCI)
- The main @font-your-face module has no requirements beyond Drupal core and a bit more memory.
- The UI module relies on Views for the browsing interface. In Drupal 8, this is built-in.
- The Typekit module requires a server that can securely (SSL) connect to Typekit.com.
If you are interested in helping with @font-your-face, here are some good ways to get started:
- Spread the word. Too many people don't realize what we can do with web fonts in Drupal. Share with your local community.
- Contribute documentation. If you've successfully used the module, you can help explain it to others.
- Review a patch. Improvements and bug fixes need to be tested and reviewed before they can make it into the next release.
- Port a patch. This code is already written, and just needs to be edited slightly (maybe not at all) to work in a different version of Drupal.
- Take over a submodule. Each individual web font provider in @font-your-face has a dedicated submodule. These submodules could be moved to separate projects, and generally require very little maintenance work.
- Become a co-maintainer. While @font-your-face is actively maintained, it would be great to have more people involved, especially people with a demonstrated ability to do some of the above. Currently, 8.x has an active maintainer (though help is always appreciated) but the 7.x branch has no current active maintainers. Anyone willing to help with its issue queue would be much appreciated.
8.x development and maintenance by Ashok Modi.
7.x-2.0 development was funded by Monotype Imaging.
- Icon Fonts extends @font-your-face to support icon fonts. (7.x)
- AdaptiveTheme can use @font-your-face fonts. (7.x)
- Sweaver provides a visual interface for theme editing, including managing fonts with @font-your-face. (7.x)
- Google Webfont Loader API can be used with @font-your-face to standardize how fonts are loaded across browsers. (7.x, 8.x)
- For something less serious, Random Fonts lets you try how your site would look with some randomly chosen fonts (most likely awful, but occasionally you'd get some interesting ideas). It also lets you create styling that looks like a ransom note. (7.x)
- Google Fonts and TypeKit modules have both been deprecated in favor of @font-your-face.
- Maintenance status: Actively maintained
- Development status: Under active development
- Reported installs: 71,391 sites currently report using this module. View usage statistics.
- Downloads: 495,440
- Automated tests: Enabled
- Last modified: 19 October 2016
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.