RE: Font problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ashley Sheridan
> On Tue, 2009-07-28 at 08:52 -0700, Jim Lucas wrote:
>> 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....
>> 
>> 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
>> 
> Basically, there is no way to guarantee what it will look like, which is
> annoying really. Wait a bit until all the browsers support it and are in
> common use.

If you really need this level of control HTML is the wrong medium. You should be using PDF, page sized images or other locked down formats. HTML was designed so the browser and user have ultimate control over layout, appearance, fonts, colors and other details. Nothing you can do should ever make any difference there.

Bob McConnell

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux