![]() |
|
The @font-face property allows you tell the browser to download font information like it down loads a picture. This solves the problem of using a font that a user might not have. The CSS2 specification allows you to use the following font formats:
Unfortunately, you can’t use postscript, true type or open true type fonts yet. You need to convert them to embedded open type or True Doc format. You use the @font-face rule to specify the font that you want to download. For example: @font-face {src: url(font.pfb)} You specify the url of the font. You can then use the font anywhere you like in your page. The browser uses the font temporarily and deletes it after the user leaves the page. The font is anti-aliased assuming you turn font smoothing on in the Display option of the Control Panel. You could add different urls for different fonts. You can even enter a local font: @font-face {src: local(font.pfb)} |
More information Downloading fonts |