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: 11 years ago
Size: 301 bytes


Class file image Download
<div style="white-space: pre;">
//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

For more information send a message to info at phpclasses dot org.