Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (28 sloc) 911 Bytes
<?php
/**************************************************************************
Page-Title : tester.php
Purpose : contains result of the font-test.
Date : 16th may 2012
Last-Modified :16th may 2012
Developed By : Kishor Khambu.
************************************************************************************/
if(isset($_POST['text'])){
?>
<style>
@font-face {
font-family: '<?php echo $_POST['font']; ?>';
src: url('fonts/<?php echo $_POST['font']; ?>.eot');
src: url('fonts/<?php echo $_POST['font']; ?>.eot?#iefix') format('embedded-opentype'),
url('fonts/<?php echo $_POST['font']; ?>.woff') format('woff'),
url('fonts/<?php echo $_POST['font']; ?>.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
body{
font-family: '<?php echo $_POST['font']; ?>';
}
</style>
<?php
echo $_POST['text'];
}
?>