function common_fonts_fontyourface_preview in @font-your-face 6.2
Same name and namespace in other branches
- 6 modules/common_fonts/common_fonts.module \common_fonts_fontyourface_preview()
- 7 modules/common_fonts/common_fonts.module \common_fonts_fontyourface_preview()
Implements hook_fontyourface_preview().
File
- modules/
common_fonts/ common_fonts.module, line 18
Code
function common_fonts_fontyourface_preview($font, $text) {
return '<span style="' . fontyourface_font_css($font) . ' font-size: 24px;">' . $text . '</span>';
}