<?php

include("uport_googlefonts.php");
//echo "<pre>"; print_r($googlefontsjson);echo "</pre>"; 


			$fontlist = "";
			foreach($googlefontsjson as $gfname => $gfvalue){
				$fontlist .= $gfname."|";
			}


			/*Font weight*/

            $font_weight = array(
				"300" => "Book 300",
				"400" => "Normal 400",
				"600" => "Semi-Bold 600",
				"700" => "Bold 700",
				"800" => "Extra-Bold 800",
				"300italic" => "Book 300 Italic",
				"400italic" => "Normal 400 Italic",
				"600italic" => "Semi-Bold 600 Italic",
				"700italic" => "Bold 700 Italic",
				"800italic" => "Extra-Bold 800 Italic",
            );

			$fontweightlist = "";
			foreach($font_weight as $gfvalue => $gfname){
				$fontweightlist .= $gfvalue.":".$gfname."|";
			}



			/*Font subset*/

            $font_subset = array(
				"latin" => "Latin", 
				"latin-ext" => "Latin Extended", 
				"greek-ext" => "Greek Extended", 
				"vietnamese" => "Vietnamese", 
				"cyrillic-ext" => "Cyrillic Extended", 
				"cyrillic" => "Cyrillic", 
				"greek" => "Greek", 
				"devanagari" => "Devanagari", 
            );

			$fontsubsetlist = "";
			foreach($font_subset as $gfvalue => $gfname){
				$fontsubsetlist .= $gfvalue.":".$gfname."|";
			}


			/*Font back up*/

            $backup_fonts = array(
                '0' => 'Select Font',
                'Arial, Helvetica, sans-serif' => 'Arial, Helvetica, sans-serif',
                "'Arial Black', Gadget, sans-serif" => "'Arial Black', Gadget, sans-serif",
                "'Bookman Old Style', serif" => "'Bookman Old Style', serif",
                "'Comic Sans MS', cursive" => "'Comic Sans MS', cursive",
                "Courier, monospace" => "Courier, monospace",
                "Garamond, serif" => "Garamond, serif",
                "Georgia, serif" => "Georgia, serif",
                "Impact, Charcoal, sans-serif" => "Impact, Charcoal, sans-serif",
                "'Lucida Console', Monaco, monospace" => "'Lucida Console', Monaco, monospace",
                "'Lucida Sans Unicode', 'Lucida Grande', sans-serif" => "'Lucida Sans Unicode', 'Lucida Grande', sans-serif",
                "'MS Sans Serif', Geneva, sans-serif" => "'MS Sans Serif', Geneva, sans-serif",
                "'MS Serif', 'New York', sans-serif" => "'MS Serif', 'New York', sans-serif",
                "'Palatino Linotype', 'Book Antiqua', Palatino, serif" => "'Palatino Linotype', 'Book Antiqua', Palatino, serif",
                "Tahoma, Geneva, sans-serif" => "Tahoma, Geneva, sans-serif",
                "'Times New Roman', Times, serif" => "'Times New Roman', Times, serif",
                "'Trebuchet MS', Helvetica, sans-serif" => "'Trebuchet MS', Helvetica, sans-serif",
                "Verdana, Geneva, sans-serif" => "Verdana, Geneva, sans-serif"
            );

			$fontbackuplist = "";
			foreach($backup_fonts as $gfvalue => $gfname){
				$fontbackuplist .= $gfvalue.":".$gfname."|";
			}

?>