Wrox Programmer Forums
|
CSS Cascading Style Sheets All issues relating to Cascading Style Sheets (CSS).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the CSS Cascading Style Sheets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 5th, 2007, 06:48 AM
Friend of Wrox
 
Join Date: Aug 2003
Posts: 137
Thanks: 0
Thanked 0 Times in 0 Posts
Default Server side fonts? CSS

Hi

I was wondering if a client has their own font, is their a CSS technique that can download / ref the font on the server?

I recall in Eric Meyer's book there was a brief discussion on this, is it possible?

Gaz
__________________
Gaz
 
Old January 5th, 2007, 07:53 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Yes, but it only supported by IEWin. The fonts need to be converted to .eot format using microsoft's free (but cumbersome) tool WEFT. If the font is protected, Weft won't convert it.

It's totally standard compliant and doesn't affect other browsers. The downside, as I see it, is that if you have configured IE to warn before downloading webfonts, it will do so for each and every page. It would be better if you OKed the domain and then IE remembered that. As it is now, too few can use it and it's too much hassle IMO.

http://www.w3.org/TR/REC-CSS2/fonts....t-descriptions
http://www.microsoft.com/typography/web/embedding/weft/

Just for information, there was another method supported by Netscape 4. So many older sites with information about "embedded fonts" will refer to two different methods. Since that method died with NS 4, it's nothing to bother with.



--
http://yupapa.com
 
Old January 5th, 2007, 09:44 AM
Friend of Wrox
 
Join Date: Aug 2003
Posts: 137
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the tip

Gaz





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Converting Client-side to Server-side Code kwilliams ASP.NET 2.0 Professional 1 November 21st, 2007 05:25 PM
Firing server side events at client side codes mehdi62b ASP.NET 1.0 and 1.1 Basics 6 May 18th, 2005 09:11 AM
sharing a server-side variable with client-side pigtail Javascript How-To 6 November 4th, 2004 02:01 AM
Two Client Side vs Server Side issues Milo Classic ASP Professional 5 May 25th, 2004 02:47 PM
Accessing Server Side Data on Client Side steve456 Classic ASP Professional 3 October 15th, 2003 02:33 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.