Argonath RPG - A World of its own

Argonath RPG Community => Forum and site ideas and information => Topic started by: speedboy on October 10, 2010, 12:22:21 pm

Title: Adding Fonts ?!
Post by: speedboy on October 10, 2010, 12:22:21 pm
What about  making a function *More Fonts* so you can add your fonts you got on your computer, to the Forum so you can write with them in a Topic/reply ?!
Title: Re: Adding Fonts ?!
Post by: Bilbo on October 10, 2010, 12:29:36 pm
And how are other people suppose to see your text with the font they don't have? :roll:
Title: Re: Adding Fonts ?!
Post by: speedboy on October 11, 2010, 09:47:57 am
And how are other people suppose to see your text with the font they don't have? :roll:
uuuh LOL :P didnt thought about that
Title: Re: Adding Fonts ?!
Post by: ~Legend~ on October 19, 2010, 01:18:13 am
Actually, you can do that: when you choose which font face (for example):

Code: [Select]
[font=Example Font]TEXT[/font]
^ Where you insert the type of font, you can change it to a font of your choosing, and it does work. Like Void said, the problem that arises from this is that not everyone will see it like that, unless they have a compatible alike font.
Title: Re: Adding Fonts ?!
Post by: dtlove on October 19, 2010, 01:28:15 am
If you mean adding font's to the forum in general, You can do this, But its complicated, Means editing a few files.

CSS3 Allows you to do this however :)
Code: (CSS3 Font Face) [Select]
@font-face

font-family:' ';
src: ulr('URLOFFILE');
src: local(' ');
    url('ULROFFONT.woff') format('woff').
    url('URLOFFONT.ttf') format('truetype');

If I am correct thats the code, but not all browsers support CSS3 yet.
Title: Re: Adding Fonts ?!
Post by: Patton on November 07, 2010, 06:29:22 pm
Yes, importing custom fonts is possible using the CSS3 specification. This has been a fairly hot topic during this and previous year since browser vendors started implementing these features. If you look around the web development community, the biggest concern for this technique is licensing, since you would have to pay for fonts at font foundries, and if you leave them on your server, there is a big chance that the font files will get stolen. On the other hand, there is a lot of open source and royalty free fonts that you can use, but having ~100KB for each font set to load is yet another problem.

If you need to embed custom fonts on this forum the best thing to do is to make an image containing the text and render it as PNG-24, then compress it with OptiPNG or a similar tool to make its size smaller. It is not a perfect solution, but it doesn't involve licensing issues and the rather complicated CSS3 code that may not even work in your browser. :)
Title: Re: Adding Fonts ?!
Post by: dtlove on November 17, 2010, 09:06:22 pm
Yeh, Like Patton said, it all depends on the browser, I made a whole CSS mainly using CSS3 then found out old browsers couldn't use the site
SimplePortal 2.3.7 © 2008-2025, SimplePortal