Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Include *.TTF Files with CSS

0 views
Skip to first unread message

Kai Gillmann

unread,
Jan 28, 2003, 11:17:43 AM1/28/03
to
Hi.
Can I use CSS for "including" Fonts?
I thougt about something like this:

font.myfont
{
font-file: "myfontfile.ttf";
or font-family: "myfontfile.ttf";
font-size: 16pt;
}

Can you help me?

THX

Kai


Kai Gillmann

unread,
Jan 28, 2003, 1:27:18 PM1/28/03
to
Hi again.
I tried something I found on microsoft©'s swebsite.
But it wont work!
Thanx for help
Kai...

@font-face
{
font-family: "My_font";
src: url(../unsteady.ttf);
}

BODY
{
font-family: "My_font";
}

"Kai Gillmann" <Kai...@GMX.net> schrieb im Newsbeitrag
news:b16afb$t3s$03$1...@news.t-online.com...

Cosme

unread,
Jan 29, 2003, 11:42:09 AM1/29/03
to

Hi!
You can not include TTF fonts in your web pages, instead, you should use EOT
fonts (Embedded Object Type) using the @font-face descriptor, writing in
your css file something like this:

@font-face { font-family: "My Font";
src:url("http://cosmech.tripod.com/University.eot")}
h1 { font-family: My Font, Times }

Regards

Cosme


"Kai Gillmann" <Kai...@GMX.net> wrote in message
news:b16i2a$s98$04$1...@news.t-online.com...

0 new messages