IPB

Welcome Guest ( Log In | Register )



Tags
This content has not been tagged yet
2 Pages V   1 2 >  
Reply to this topicStart new topic

Html Document Fonts

, How to use special fonts?


DoR
no avatar
Member [Level 1]
****
Group: Members
Posts: 59
Joined: 8-June 05
Member No.: 7,996



Post #1 post Jun 29 2005, 03:59 PM
I want to use some fonts, from a .ttf file (or another). How can I do that?
I tried the @font-face with no success.
Someone can help me?
Really thanks.
Go to the top of the page
+Quote Post
badinfluence
no avatar
Super Member
*********
Group: Members
Posts: 283
Joined: 10-October 04
Member No.: 1,637



Post #2 post Jun 29 2005, 04:17 PM
use WEFT http://www.microsoft.com/typography/web/em...ft2/default.htm

ur css code would be this
CODE
<!-- CSS enable font face coding for html markup..
@font-face{
font-family:myfont created with WEFT;
font-style: nromal;
font-weight: normal;
scr: url(myfont created with WEFT.eot);
}
-->


this will work regardless of visitors have installed your font or not in their machine.. good for those non-english websites.
Go to the top of the page
+Quote Post
DoR
no avatar
Member [Level 1]
****
Group: Members
Posts: 59
Joined: 8-June 05
Member No.: 7,996



Post #3 post Jun 29 2005, 06:09 PM
Thanks badinfluence, but what if I use only Linux (cannot and don't wan to to install MS software on it) and want to use fonts on a site accesible by most used browser's (IE and Mozilla).

How can I do?

Where can I download free fonts to use?

Go to the top of the page
+Quote Post
bjrn
no avatar
Super Member
*********
Group: Members
Posts: 378
Joined: 8-January 05
Member No.: 3,174



Post #4 post Jun 29 2005, 07:17 PM
Uhm, if you just want to use common fonts you obviously just do
CODE
elementname {
font-family: font1, font2, font2;
}

example:
CODE
body {
font-family: tahoma, arial, sans-serif;
}


If you have some special font you want to use, but don't know if your visitors will have the font or not, you can either do what badinfluence suggested, or just give up.

That is if you want to use the font for running text, if you just want to do it for headings and such, you could either generate heading images on the fly with PHP, or do some sIFR thing (which uses flash).
Generating headings with PHP: http://www.alistapart.com/articles/dynatext/
sIFR: http://www.mikeindustries.com/blog/archive/2004/08/sifr
more sIFR: http://www.mikeindustries.com/blog/files/sifr/2.0/

But for running text (the main body of text) you will have to use "universal" fonts.
Go to the top of the page
+Quote Post
Saint_Michael
no avatar
$p4m 0n j00 $h4m3 m3 0nc3 $p4m 0n m3 $h4m3 m3 7\/\/1c3
*********************
Group: [MODERATOR]
Posts: 7,255
Joined: 21-September 04
From: 9r33|\| 399$ 4|\|D 5P4/\/\
Member No.: 1,218
myCENT:83.20



Post #5 post Jun 29 2005, 08:41 PM
go to font websites to download them but the css script is right but the only problem with using other font you have to disaply the universal fonts in the css script if your one of those people that like to have their website validated. but reguardless of that the universal fonts would have to put into the script so it will run properly
Go to the top of the page
+Quote Post
badinfluence
no avatar
Super Member
*********
Group: Members
Posts: 283
Joined: 10-October 04
Member No.: 1,637



Post #6 post Jun 29 2005, 10:07 PM
QUOTE(bjrn @ Jun 30 2005, 04:17 AM)


nice technic you brought here for sharing... thks smile.gif
Go to the top of the page
+Quote Post
DoR
no avatar
Member [Level 1]
****
Group: Members
Posts: 59
Joined: 8-June 05
Member No.: 7,996



Post #7 post Jun 30 2005, 06:31 PM
So, use different than standard fonts on a valid html/css site visited by many different browsers is impossible.

Thanks, to all.

Go to the top of the page
+Quote Post
dontmaimyourself
no avatar
Lord of the last day
*********
Group: Members
Posts: 526
Joined: 30-July 04
From: England
Member No.: 305



Post #8 post Jul 2 2005, 05:02 PM
you could simply just make an image with the text in the desired font upload that and place it where you want the text to be.
Go to the top of the page
+Quote Post
shigajet
no avatar
"Betsuni"
***********
Group: Members
Posts: 1,023
Joined: 9-April 05
From: Japan
Member No.: 5,445



Post #9 post Jul 2 2005, 05:42 PM
The most common fonts used on a website is Verdana and Times New Roman, as they're the easiest to read. You're more than welcome to visit and download from the free font websites, but I doubt it my show up on the browser.
Go to the top of the page
+Quote Post
bjrn
no avatar
Super Member
*********
Group: Members
Posts: 378
Joined: 8-January 05
Member No.: 3,174



Post #10 post Jul 3 2005, 11:02 AM
QUOTE(shigajet @ Jul 2 2005, 06:42 PM)
The most common fonts used on a website is Verdana and Times New Roman, as they're the easiest to read. You're more than welcome to visit and download from the free font websites, but I doubt it my show up on the browser.

I wouldn't use Times New Roman on a website, ever. If you want to use a serif font on a website, at least make sure it's a font which looks good on a screen. You would be better off using Georgia (which has been designed especially for computer screens). I think Palatino looks well too (and Palatino is included as a standard font in most modern OSs).
Go to the top of the page
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   1 illnet 6,158 20th June 2004 - 04:50 PM
Last post by: ultrasmad
No new   108 chelcy 83,266 18th September 2009 - 09:07 PM
Last post by: domguan
No New Posts   3 -Sky- 629 12th June 2009 - 08:48 PM
Last post by: -Sky-
No new 40 EricDrinkard 39,550 1st November 2009 - 01:34 PM
Last post by: Www.AnthonyLazaroni.Com
No New Posts   11 football123213 8,607 30th July 2004 - 03:34 PM
Last post by: templest
No new   125 djleli 40,363 5th November 2009 - 10:02 AM
Last post by: Ho-oh'sRealm
No New Posts   10 Saint_Michael 8,894 7th May 2009 - 07:13 AM
Last post by: contactskn
No new   54 habbovalley 3,841 5th November 2009 - 09:59 AM
Last post by: Ho-oh'sRealm
No New Posts   0 deedee2003 3,719 5th September 2004 - 09:11 PM
Last post by: deedee2003
No New Posts   9 Liquid Fire 3,816 18th September 2009 - 09:17 PM
Last post by: domguan
No new  
Fonts  * 12
17 gotcha41 7,184 2nd December 2004 - 09:31 AM
Last post by: jjhou
No New Posts 12 Saint_Michael 6,945 18th December 2004 - 05:28 AM
Last post by: s243a
No New Posts   1 hansley 7,676 11th October 2004 - 03:54 AM
Last post by: Trystim
No New Posts   2 mrdee 661 23rd November 2007 - 10:21 PM
Last post by: mrdee
No new   24 solankyno1 6,751 7th September 2009 - 11:33 AM
Last post by: nnsoccer


 



RSS Open Discussion Time is now: 8th November 2009 - 05:37 PM

Web Hosting Powered by ComputingHost.com.