function common_fonts_list in @font-your-face 6
Provides all needed details about common fonts.
2 calls to common_fonts_list()
- common_fonts_fontyourface_css in modules/
common_fonts/ common_fonts.module - Implements hook_fontyourface_css().
- common_fonts_fontyourface_info in modules/
common_fonts/ common_fonts.module - Implements hook_fontyourface_info().
File
- modules/
common_fonts/ common_fonts.module, line 69
Code
function common_fonts_list() {
return array(
'Sans-Serif' => array(
'path' => 'sans-serif',
'fonts' => array(
'Helvetica' => array(
'family' => "'Helvetica', 'Arial', sans-serif",
'path' => 'Helvetica',
'sample text' => 'Helvetica',
),
'Verdana' => array(
'family' => "'Verdana', 'Arial', sans-serif",
'path' => 'Verdana',
'sample text' => 'Verdana',
),
'Arial' => array(
'family' => "'Arial', sans-serif",
'path' => 'Arial',
'sample text' => 'Arial',
),
),
),
'Serif' => array(
'path' => 'serif',
'fonts' => array(
'Times New Roman' => array(
'family' => "'Times New Roman', serif",
'path' => 'Times+New+Roman',
'sample text' => 'Times New Roman',
),
'Georgia' => array(
'family' => "'Georgia', 'Times New Roman', sans-serif",
'path' => 'Georgia',
'sample text' => 'Georgia',
),
),
),
'Monospace' => array(
'path' => 'monospace',
'fonts' => array(
'Courier' => array(
'family' => "'Courier', 'Courier New', monospace",
'path' => 'Courier',
'sample text' => 'Courier',
),
),
),
'Cursive' => array(
'path' => 'cursive',
'fonts' => array(
'Comic Sans MS' => array(
'family' => "'Comic Sans MS', monospace",
'path' => 'Comic+Sans+MS',
'sample text' => 'Comic Sans MS',
),
),
),
);
}