- Updates the template

This commit is contained in:
Vlad
2016-01-04 09:55:16 -05:00
parent 0192934e65
commit bc80f69e41
4 changed files with 12 additions and 19 deletions

View File

@ -23,10 +23,10 @@ class StylesHelper {
'Courier New' => "'Courier New', Courier, 'Lucida Sans Typewriter', 'Lucida Typewriter', monospace",
'Georgia' => "Georgia, Times, 'Times New Roman', serif",
'Lucida' => "'Lucida Sans Unicode', 'Lucida Grande', sans-serif",
'Tahoma' => "Tahoma, Verdana, Segoe, sans-serif",
'Tahoma' => 'Tahoma, Verdana, Segoe, sans-serif',
'Times New Roman' => "'Times New Roman', Times, Baskerville, Georgia, serif",
'Trebuchet MS' => "'Trebuchet MS', 'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', Tahoma, sans-serif",
'Verdana' => "Verdana, Geneva, sans-serif"
'Verdana' => 'Verdana, Geneva, sans-serif'
);
static $fontSize = array(
// fontSize => array(columnCount => lineHeight);
@ -221,7 +221,7 @@ class StylesHelper {
static function setFontFamily($fontFamily, $selector) {
$fontFamily = (isset(self::$font[$fontFamily])) ?
self::$font[$fontFamily] :
$fontFamily;
self::$font['Arial'];
$css = $selector . '{' . PHP_EOL;
$css .= 'font-family:' . $fontFamily . ';' . PHP_EOL;
$css .= '}' . PHP_EOL;