Working with fonts

Bar discussions . Talk about everything not only php !. Guests are welcome here , forum registration is not required.

Moderators: egami, macek, gesf

Post Reply
patna_in
New php-forum User
New php-forum User
Posts: 101
Joined: Sun Feb 06, 2005 10:54 am
Contact:

Tue Sep 27, 2005 9:56 pm

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:

User avatar
gesf
Moderator
Moderator
Posts: 1716
Joined: Sun Dec 29, 2002 5:03 am
Location: Portugal / Sweden
Contact:

Tue Sep 27, 2005 11:51 pm

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" :)
Sincerely,
Gonçalo "gesf" Fontoura

gesf.org | sessionstart.com | urlms.com

patna_in
New php-forum User
New php-forum User
Posts: 101
Joined: Sun Feb 06, 2005 10:54 am
Contact:

Wed Sep 28, 2005 1:03 am

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.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Baidu [Spider] and 1 guest