Page 1 of 1

Working with fonts

Posted: Tue Sep 27, 2005 9:56 pm
by patna_in
Hi, I'm trying to include bengali fonts to my website. So that, everybody can view the sites with bengali language not in image. I view some sites like this, but I don't know how to do that. Any idea guys. Pls post some help... :help:

Posted: Tue Sep 27, 2005 11:51 pm
by gesf
This has nothing to do with PHP by the way!
Topic moved!

That is called embedded fonts. I've used that once.
I was using a software called WEFT.
This tool will convert the font file into an .eot format which can be read by your webserver.
By using this technique the font will be loaded from the webserver and has not to be installed on the system of the visitor!

After all it will generate a css code like this (example):

Code: Select all

@font-face { 
<!-- /* $WEFT -- Created by: you on 27-04-2003 -- */
   font-family: The_Font;
   font-style:  normal;
   font-weight: normal;
   src: url(The_Font.eot);
 }
However, this technique only works with Microsoft Internet Explorer.
Well... you better make a search about "embedded fonts" :)

Posted: Wed Sep 28, 2005 1:03 am
by patna_in
sorry! for posting such topic in wrong section. Actually this thing is necessary for both Javascript & php. So i post it here. By the way, thanks for ur help.