Re: Font problem
| From: | Jim Lucas | Date: | Tue, 28 Jul 2009 15:52:20 +0000 |
| Subject: | Re: Font problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-295941@lists.php.net to get a copy of this message | ||
Dušan Novaković wrote:
> Hi,
>
> Is there a possibility that if there is no font installed on client
> side somehow browser finds it and redirect that font form server to
> client machine. For example: I have site that use Microsoft font and
> that font is not available on Linux distributions. So when u open page
> in FF on some Linux u get some default font (because browser doesn't
> recognize that font). I hope that I've managed to explane a problem
> :-) Does anyone has any solution for this problem??? Please it's very
> urgent....
>
> Thanks,
> Dusan
>
It is possible, but you have to use the proper type of font file.
It is usually referred to as "Font Embedding" or "Embedding Fonts" using CSS
here are a few pages that show examples of how to do this with CSS
http://www.alistapart.com/articles/cssatten
http://www.webdeveloper.com/forum/archive/index.php/t-37552.html
http://home.tiscali.nl/developerscorner/fdc-varia/font-embedding.htm
http://www.cameraontheroad.com/index.php?p=524