PHP Classes

File: class.pGifText.config.php

Recommend this page to a friend!
  Classes of Ciprian Voicu  >  Pictoru's GIF Text  >  class.pGifText.config.php  >  Download  
File: class.pGifText.config.php
Role: Configuration script
Content type: text/plain
Description: configuration file
Class: Pictoru's GIF Text
Render text as images
Author: By
Last change: typed more explanations for the font folder location
Date: 16 years ago
Size: 1,039 bytes


Class file image Download
# -------------------------------------------------------------------------------
# Name: Pictoru's Gif Title
# Author: Ciprian Voicu
# Version: 1.0
# Date: 2006-08-29
# Description: creates and outputs gif images from ttf fonts, usefull for
# texts which are not supported by the browsers
# License: GNU GPL
# -------------------------------------------------------------------------------


# this defines the location of the fonts folder relativ to this file

# change the $font_folder value with the location of your fonts folder
# put in that font your fonts


define("IMG_FONT_FOLDER", realpath(dirname(__FILE__)."/".$font_folder)."/");

# insert a new item in this array for your new font.
# the key will be the identifier into the class
define("IMG_TTF_FONTS", serialize(array(