Re: Font problem

From: Date: Tue, 28 Jul 2009 13:45:49 +0000
Subject: Re: Font problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-295924@lists.php.net to get a copy of this message
2009/7/28 Dušan Novaković <ndusan@gmail.com>: > 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.... Not really, no. The choice of font is up to the user's browser. However, you can, with CSS, set some basic parameters. If, say, you want to ensure that the users sees a sans-serif font on their browser, you can use: font-family: arial, helvetica, verdana, sans-serif This basically says, ensure that the browser uses arial; if arial isn't available, use helvetica; if helvetica isn't available, use verdana; and if verdana isn't available, use whatever sans-serif font the user has installed on their computer. Look up the font-family attribute for CSS on the web. There's too much detail to go into and this is a PHP list, not a CSS list. -- Richard S. Crawford (rscrawford@mossroot.com) http://www.mossroot.com Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)

« previous php.general (#295924) next »