View Full Version : Font Embedding!!

02-21-2005, 07:55 AM
1>>Font Embedding In a Webpage

Hi masters,

The following CSS font embedding code doesn't work for me. Please debug it. Thank you!


02-21-2005, 08:01 AM
I didn't know you could embed a font with CSS alone... :confused:

Where did you get the information from?

02-21-2005, 08:02 AM
I am using weft


02-21-2005, 08:51 AM
ah, if only it were that easy...

Web pages so that when an Internet Explorer user views the pages they'll see them displayed in the font style contained within the font object.

from the weft homepage...ugg .. Anyways, there are a few ways around it...SiFR, IFR etc. google 'em..

Mainly they involve using flash to embed...while still remaining accessible. Good luck

02-21-2005, 09:14 AM
Weft is OK provided you are only using some basic HTML and CSS in the page if you go any further adding Javascript or stuff like that it begins to 'play' with the page. I also have had some issues with IE refusing to load multiple fonts produced by Weft, instead it only loads one font each time you access a page and doesn't appear to cache them. :eek:

02-21-2005, 10:43 AM
To respond to the original poster:

First of all, you've misspelled the property: it's "@font-face".
Second, this is part of a CSS3 working draft, and there's no hope in heck that this will be supported by a practical number of browsers any time soon.
Other techniques for font embedding share the same poor support and can't really be relied upon; besides, you have to ask yourself if you want to expose your visitors to downloading TTF files all the time.

I'd say, forget about font embedding for quite some time; stick where appropriate to image replacement techniques as Jalenack already indicated.

02-21-2005, 11:48 AM
lol. I remember back on the WA forums when I was a n00b.. I brang up this and I got a lecture and a half.

Stick with standard fonts!

02-21-2005, 12:29 PM
Don't get me wrong: it would be great if web designers would have a practical, well-supported, standardized way to supply more "exotic" fonts to enhance their designs; untill such a way establishes itself, though, I just wouldn't bet on it.
Let's hope Mozilla, Opera and the likes pick up CSS3 quickly as soon as it's viable.

02-21-2005, 12:42 PM
Well on the issue of usability I don't think that developers being able to use their own non-standard fonts is just disaster waiting to happen.

02-21-2005, 10:30 PM
But wait! Says I.

I just installed MT on my system, and they suggested that the files either go in the cgi-bin or in a directory not accessible to the browser, such as the folder just above the "public_html" folder (or something similar). "Ah," says me, "I never thought of that before."

Which makes me wonder, why couldn't you have custom fonts installed in that directory, and access those fonts from the stylesheet?