<div style="white-space: pre;"> <?php //include libary include ("yctin.ttf.class.php"); //create yctin_ttf object $ttf = new ycTIN_TTF(); //open font file if ($ttf->open("yctin.ttf")) { //get name table $rs = $ttf->getNameTable(); //display result print_r($rs); } ?> </div>