The fonts for upload to server still keep the original extension, example font.ttf, font.oft or font.svg, etc…
To use a downloadable font call Khmer OS:
@font-face {
font-family: “Khmer OS”;
src: url(http://domainname/font/KhmerOS.ttf);
}
p {font-family: Khmer OS;}
The user agent will download Khmer OS and use it when rendering text within paragraph elements.
p {font-family: Khmer OS, Time New Roman;}
Right now, above CSS works with Firefox and Safari only. We also can add more CSS for Internet Explorer in the same time, after create EOT font by using WEFT of Microsoft.
@font-face {
font-family: “Khmer OS”;
src: url(http://domainname/font/KhmerOS.ttf);
}
@font-face {
font-family: “Khmer OS”;
src: url(KhmerOS.eot);
}
p {font-family: Khmer OS, Time New Roman;}
For more information: http://www.w3.org/TR/2009/WD-css3-fonts-20090618/
Reference: http://khmertype.blogspot.com