<?php
/**
 * @version    $Id$
 * @package    IT_Theme_Framework
 * @author     InnoThemes Team <support@innothemes.com>
 * @copyright  Copyright (C) 2012 InnoThemes.com. All Rights Reserved.
 * @license    GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Websites: http://www.innothemes.com
 */

/**
 * Typography field renderer.
 *
 * @package  IT_Theme_Framework
 * @since    1.0.0
 */
class IT_Form_Field_Typography extends IT_Form_Field {
	/**
	 * Field type.
	 *
	 * @var  string
	 */
	protected $type = 'typography';

	/**
	 * Typography options.
	 *
	 * @var  array
	 */
	protected $choices = array(
		'font-face',
		'font-family',
		'font-size',
		'font-unit',
		'font-weight',
		'font-style',
		'font-display',
		'text-color',
		'text-effect',
	);

	/**
	 * Supported standard fonts.
	 *
	 * @var  array
	 */
	protected $standard_fonts = array(
		'Verdana, Geneva, sans-serif',
		"Georgia, 'Times New Roman', Times, serif",
		"'Times New Roman', Times, serif",
		"'Courier New', Courier, monospace",
		'Arial, Helvetica, sans-serif',
		'Tahoma, Geneva, sans-serif',
		"'Trebuchet MS', Arial, Helvetica, sans-serif",
		"'Palatino Linotype', 'Book Antiqua', Palatino, serif",
		"'Lucida Sans Unicode', 'Lucida Grande', sans-serif",
		"'Lucida Console', Monaco, monospace",
	);

	/**
	 * Supported Google fonts.
	 *
	 * @var  array
	 */
	protected $google_fonts = array(
		'Open Sans',
		'Oswald',
		'Droid Sans',
		'Lato',
		'Open Sans Condensed',
		'PT Sans',
		'Ubuntu',
		'PT Sans Narrow',
		'Yanone Kaffeesatz',
		'Roboto Condensed',
		'Source Sans Pro',
		'Nunito',
		'Francois One',
		'Roboto',
		'Raleway',
		'Arimo',
		'Cuprum',
		'Play',
		'Dosis',
		'Abel',
		'Droid Serif',
		'Arvo',
		'Lora',
		'Rokkitt',
		'PT Serif',
		'Bitter',
		'Merriweather',
		'Vollkorn',
		'Cantata One',
		'Kreon',
		'Josefin Slab',
		'Playfair Display',
		'Bree Serif',
		'Crimson Text',
		'Old Standard TT',
		'Sanchez',
		'Crete Round',
		'Cardo',
		'Noticia Text',
		'Judson',
		'Lobster',
		'Unkempt',
		'Changa One',
		'Special Elite',
		'Chewy',
		'Comfortaa',
		'Boogaloo',
		'Fredoka One',
		'Luckiest Guy',
		'Cherry Cream Soda',
		'Lobster Two',
		'Righteous',
		'Squada One',
		'Black Ops One',
		'Happy Monkey',
		'Passion One',
		'Nova Square',
		'Metamorphous',
		'Poiret One',
		'Bevan',
		'Shadows Into Light',
		'The Girl Next Door',
		'Coming Soon',
		'Dancing Script',
		'Pacifico',
		'Crafty Girls',
		'Calligraffitti',
		'Rock Salt',
		'Amatic SC',
		'Leckerli One',
		'Tangerine',
		'Reenie Beanie',
		'Satisfy',
		'Gloria Hallelujah',
		'Permanent Marker',
		'Covered By Your Grace',
		'Walter Turncoat',
		'Patrick Hand',
		'Schoolbell',
		'Indie Flower',
	);

	/**
	 * Supported font size.
	 *
	 * @var  array
	 */
	protected $font_size = null;

	/**
	 * Supported font unit.
	 *
	 * @var  array
	 */
	protected $font_unit = array( '%', 'in', 'cm', 'mm', 'em', 'ex', 'pt', 'pc', 'px' );

	/**
	 * Supported font weight.
	 *
	 * @var  array
	 */
	protected $font_weight = array( 'normal', 'bold', 'bolder', 'lighter' );

	/**
	 * Supported font style.
	 *
	 * @var  array
	 */
	protected $font_style = array( 'normal', 'italic', 'oblique' );

	/**
	 * Supported font display.
	 *
	 * @var  array
	 */
	protected $font_display = array( 'normal', 'italic', 'bold' );
}
