README.txt 1.7 KB

123456789101112131415161718192021222324252627282930313233
  1. 1. Installing @font-your-face:
  2. ==============================
  3. - Place the extracted module in sites/all/modules/fontyourface
  4. - Go to Administration » Modules and enable @font-your-face and one or more of the submodules.
  5. - Go to Administration » Configuration » User interface » @font-your-face settings and import the fonts.
  6. 2a. Use @font-your-face via the interface:
  7. ==========================================
  8. - Go to Administration » Appearance » @font-your-face (admin/appearance/fontyourface/browse)
  9. to enable some fonts.
  10. - Click the 'enable font' for each fonr you want to use.
  11. - You can add CSS selectors for each enabled font.
  12. 2b. Using @font-your-face via your theme .info file:
  13. ====================================================
  14. - Open the .info file of your theme (eg bartik.info if your theme is Bartik)
  15. - Add fonts like this:
  16. fonts[google_fonts_api][] = "Contrail One&subset=latin#regular"
  17. fonts[fontdeck][] = "Tanger+Serif+Medium+Ultra+Light"
  18. - The use your stylesheet to enable fonts. Example:
  19. h1#site-title { font-family: "1942 Report", serif; }
  20. Known issues:
  21. =============
  22. - Note that Internet Explorer has a limit of 32 CSS files, so using @font-your-face on CSS-heavy sites may require
  23. turning on CSS aggregation under Administer » Configuration » Development » Performance (admin/config/development/performance).
  24. - KERNEST servers are sometimes unreliable, so you may want to download KERNEST fonts and use the Local Fonts module to
  25. load them from your server instead. KERNEST provides paid fonts that are not available for use in the API, so those can
  26. only be used with the Local Fonts module.
  27. - See http://drupal.org/project/fontyourface#support for support options on any issues not mentioned here.