You are here

function fontdeck_fontyourface_preview in @font-your-face 7

Same name and namespace in other branches
  1. 6.2 modules/fontdeck/fontdeck.module \fontdeck_fontyourface_preview()
  2. 7.2 modules/fontdeck/fontdeck.module \fontdeck_fontyourface_preview()

Implements hook_fontyourface_preview().

File

modules/fontdeck/fontdeck.module, line 142

Code

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