Login   Register  
PHP Classes
elePHPant
Icontem

File: yctin.ttf.demo.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Timmy Tin (ycTIN)  >  ycTIN - TTF Info  >  yctin.ttf.demo.php  >  Download  
File: yctin.ttf.demo.php
Role: Example script
Content type: text/plain
Description: example
Class: ycTIN - TTF Info
Retrieve information from TrueType font files
Author: By
Last change:
Date: 2009-03-12 08:07
Size: 301 bytes
 

Contents

Class file image Download
<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>