well my subject just about says it all
is there a way that i can actually embedd a font on a website that i can specify as the title font for my pages?
thanks.
| SitePoint Sponsor |



well my subject just about says it all
is there a way that i can actually embedd a font on a website that i can specify as the title font for my pages?
thanks.

i think there is a way, i have seen it before (i think). the only thing i can suggest is using the font in a garphics package and creating an image and insert the image. i shall look intp that for you tho.
chris



Best place to look of this is:
http://microsoft.com/typography/default.asp
and also
http://microsoft.com/typography/web/...ame=%20&fsize=
Hope this helps



thanks guys...
i think those links are perfect...
the thing is i have over 1000 pages -- automatically generated --
and the titles use a class... so i don't really want to make a graphic for every page just a color & maybe dropshadow with css.
~nina

i think basically you would have to insert the .ttf ile into the directory root and use css to use that font simply by having it as the font to be used
.*your style here* { font-family: "*your font here*";
font-size: 8pt; }
if that doesnt work, which i doubt it will, then im rubbish
chris


You can do it with CSS or the <link> tag. But if you are using a ttf font then keep in mind thats only going to work on Windows. I know Mac doesnt do fonts that way, not sure about others like Linux though. It also increases your pages loading time noticably. I would personally either use graphics or just stick to common fonts.
Code:<link rel="fontdef" href="font.ttf"> @font-face {font-family: font;src: url(font.ttf);}


One way to allow fonts to be displayed "embedded" for which the user does not have installed is to use the CSS, for example: @font-face { font-family: "Zombie Dave", Times, serif; }
However, you will find this probably won't work, first you'll need a font converter such as WEFT - as was mentioned - to convert the font so that the browser can understand the format first, and you'll get something like this:
@font-face {
font-family: ZombieDave;
font-style: normal;
font-weight: normal;
src: url(ZombieDave.eot);
However, beware Netscape Communicator 4.x uses 'BitStream font' technologies, thus it won't work with WEFT, and you'll have to do more research for the other user-agents, etc.
Last edited by xhtmlcoder; Jun 27, 2002 at 04:06.
};-) http://www.xhtmlcoder.com/
Thinking Web: Voices of the Community
> March 2013 - SitePoint forums: Spot the Error 3: Calling all Sleuths! Winner Announced!... She knows how to spot simple <code> errors but do you?



sounds like maybe i should just stick to standar fonts... well... thanks anyways dudes/dudettes - i will still try it and see if it works
~nina
Bookmarks