I can see only two ways for you to do this. The first is to post a link to the font where the visitor can download and install the font and then will be able to view the page.
Or you could load the font to your website and create an image file in png format where you utilize the font for an image file with the Punjabi font.
Just for fun here is what the code would look like:
PHP Code:
<?php
$im = imagecreatetruecolor(110, 40);
$green = imagecolorallocate($im, 0, 255, 0);
$red = imagecolorallocate($im, 255, 0, 0);
imagefilledrectangle($im, 0, 0, 90, 40, $red);
$font = imageloadfont('include/04b.gdf');
imagestring($im, $font, 0, 0, 'Hello', $green);
header('Content-type: image/png');
imagepng($im);
imagedestroy($im);
?>
The above assumes that 04b.gdf was uploaded to your site.
Otherwise if a computer does not have the font on their computer I do not see how their computer would be able to interpret the font. Java maybe?
Bookmarks