Arwen-Undomiel.com
http://arwen-undomiel.com/forum/

Making fonts... downloadable... ?
http://arwen-undomiel.com/forum/viewtopic.php?f=37&t=16318
Page 1 of 1

Author:  Johnny's Fan [ August 19th, 2007, 9:17 am ]
Post subject:  Making fonts... downloadable... ?

I would really like to add some fonts to my site, but I don't know how I would add them, and make it so visitors could download them.

Could anyone help me please?

Thanks! :-)

Author:  Gilraen Ringeril [ August 19th, 2007, 12:28 pm ]
Post subject: 

'Tis quite easy actually :) (yay!)

All you have to do is upload the font file to your site and then link to it. For example, say your font is called 'font01.ttf' in the folder "fonts" you would make a link like this:

Code:
<a href="fonts/font01.ttf">download this font!</a>


Because it is a font file, when someone clicks on the link, it will automatically open a download window ;)

I hope this helps!

Author:  Johnny's Fan [ August 19th, 2007, 1:32 pm ]
Post subject: 

Ooh, thankees Gil. I like things when they are simple. :teehee:

Do I make a seperate section for the fonts in FTP like I did for CuteNews? Or do I just upload the font file with the rest of my site stuff?

Author:  Gilraen Ringeril [ August 19th, 2007, 9:23 pm ]
Post subject: 

No problem :)

Well, it's up to you ;) Personally, I'd make a separate folder for your fonts just to keep things organized ;)

Author:  Johnny's Fan [ August 19th, 2007, 10:22 pm ]
Post subject: 

Ah, right. Will do. Thanks again Gil! :hug:

Author:  Gilraen Ringeril [ August 20th, 2007, 1:14 pm ]
Post subject: 

No problem :hug:

Author:  Johnny's Fan [ August 24th, 2007, 7:44 pm ]
Post subject: 

Well I created a new folder called Fonts, and I uploaded my font and I tried the code, but when I clicked on the link it said page cannot be displayed. I tried adding the font name WILLG__.TTF, to the code, exactly as it was written, and then witout the underscore, and without the captial TTF, but nothing seems to have worked.

Any ideas Gil?

Author:  Gilraen Ringeril [ August 24th, 2007, 10:15 pm ]
Post subject: 

ahhh, I see the problem - you capitalized "Fonts" in the name of you folder, so all you need to do is make sure you capitalize it in the link too ;) :)

Code:
<a href="Fonts/WILLG____.TTF">download</a>

Author:  Johnny's Fan [ August 24th, 2007, 10:26 pm ]
Post subject: 

I tried that code Gil, and it's still not working. :-(

It must be something I'm doing wrong. The page that will hold the fonts, do I uplaod that to the main section of FTP with all my other pages? Because that's where I have been uplaoding it to.

Author:  Gilraen Ringeril [ August 26th, 2007, 5:20 pm ]
Post subject: 

Yeah, that's where you should upload it to ;) Hmm....I just made a test page using that code and it worked...

Code:
<a href="Fonts/WILLG___.TTF">download</a>


EDIT: I know! In the code that I gave in the previous post, I added one too many underscores! So the code in this post should work ;)

Wow! Sorry! :P

Author:  Johnny's Fan [ August 26th, 2007, 8:12 pm ]
Post subject: 

Yay! Thank you Gil! It worked fine. :hug:

Aw, don't worry about it, I should have figured it out for myself anyway. :teehee:

Author:  Gilraen Ringeril [ August 26th, 2007, 9:39 pm ]
Post subject: 

Haha no, it's fine ;) Really, I make stupid mistakes like that SOOO often :P

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/