Page 1 of 1

Fonts

Posted: Fri Oct 05, 2007 8:12 am
by rajan
Can I use my folder font files on my html page? If yes then how?

Posted: Fri Oct 05, 2007 9:46 am
by feyd
Explain... a lot more.

Posted: Fri Oct 05, 2007 5:17 pm
by figaro11
The fonts in your HTML pages are limited to the number of fonts on the clients machine. In other words, if the person browsing you HTML page has the font on their computer, then that font will be displayed.

Posted: Fri Oct 05, 2007 7:14 pm
by feyd
figaro11 wrote:The fonts in your HTML pages are limited to the number of fonts on the clients machine. In other words, if the person browsing you HTML page has the font on their computer, then that font will be displayed.
Not true. Fonts can be referenced from the pages which do not reside on the client machine, but on the server. However, using nonstandard fonts in page text is generally a really bad idea.

Posted: Sat Oct 06, 2007 1:03 am
by rajan
Actually I want the functionality that admin can add fonts in a folder through admin panel and which font status is 1 that will be use on html page. Can we use fonts from folder which are not in system fonts folder but in any other folder?

Posted: Sat Oct 06, 2007 4:08 am
by Kieran Huggins
You may want to check out "sIFR" - a flash/css/javascript enhancement.

As far as I know you can't reference fonts that aren't installed on the client machine, at all.

Posted: Sat Oct 06, 2007 6:45 am
by VladSun
There is a CSS standard for this issue:

Code: Select all

@font-face { 
 font-family: cmsy10; 
 src: url("http://www.domain.com/font/cmsy10.ttf"); 
} 

p {
font-family: cmsy10;
} 
The problem is that it is not supported by many browsers.

Posted: Sat Oct 06, 2007 5:34 pm
by figaro11
VladSun wrote:There is a CSS standard for this issue:

Code: Select all

@font-face { 
 font-family: cmsy10; 
 src: url("http://www.domain.com/font/cmsy10.ttf"); 
} 

p {
font-family: cmsy10;
} 
The problem is that it is not supported by many browsers.
IE has been supporting the rule every since IE4 but with their .eot format, instead of the popular TrueType formats.

Up until recently, Safari supports the rule. Opera hopefully will kick in with support.