You are here

function fonts_com_fontyourface_preview in @font-your-face 6.2

Same name and namespace in other branches
  1. 7.2 modules/fonts_com/fonts_com.module \fonts_com_fontyourface_preview()
  2. 7 modules/fonts_com/fonts_com.module \fonts_com_fontyourface_preview()

Implements hook_fontyourface_preview().

File

modules/fonts_com/fonts_com.module, line 142

Code

function fonts_com_fontyourface_preview($font) {
  return '<span style="' . fontyourface_font_css($font) . ' font-size: 24px;">' . $font->name . '</span>';
}