PHP Classes

File: yctin.ttf.demo.php

Recommend this page to a friend!
  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: 15 years ago
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>