Location: PHPKode > projects > Unicode Conversion Gateway > unigateway-0.5.3/Encoder/fonts/Vikatan.php5
<?php
/* ***** BEGIN LICENSE BLOCK *****
 *
 *  This file is originally part of Padma.
 *
 *  Copyright (C) 2005-2006 Nagarjuna Venna <hide@address.com>
 *  Copyright (C) 2006 Harshita Vani   <hide@address.com>
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.

 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 *
 * ***** END LICENSE BLOCK ***** */

//Vikatan Tamil - an implementation of TAM encoding standard
include_once(dirname(__FILE__) . "/TAM.php5");

class Vikatan extends TAM
{
function Vikatan()
{
}

//The interface every dynamic font encoding should implement
//var $maxLookupLen = TAM::maxLookupLen;
var $fontFace     = "Vikatan_TAM";
var $displayName  = "Vikatan";
var $script       = Padma::Padma_script_TAMIL;

function lookup($str) 
{
    return TAM::lookup($str);
}

function isPrefixSymbol($str)
{
    return TAM::isPrefixSymbol($str);
}

function isOverloaded($str)
{
    return TAM::isOverloaded($str);
}

function handleTwoPartVowelSigns($sign1, $sign2)
{
    return TAM::handleTwoPartVowelSigns($sign1, $sign2);
}

function isRedundant($str)
{
    return TAM::isRedundant($str);
}

function preprocessMessage($input)
{
    return TAM::preprocessMessage($input);
}
}

function Vikatan_initialize()
{
    global $fontinfo;

    $fontinfo["vikatan_tam"]["language"] = "Tamil";
    $fontinfo["vikatan_tam"]["class"] = "Vikatan";
}
?>
Return current item: Unicode Conversion Gateway