Tuesday, July 29, 2008

Your own favorite Fonts on web

If you have your font and want to put in webpage try this method
1) created from existing TrueType font files(.ttf) using Microsoft's Web Embedding Fonts Tool (WEFT). (A similar software product called "FAIRY", by BorWare AG, also generated .eot files, with some improvements.)
2) embeddeb font with the css

@font-face {
  font-family: 05_ZZ Death Note 1.0;
  font-style:  normal;
  font-weight: normal;
  src: url(ZZDEATH1.eot);
}
.deathnote { font-family: "05_ZZ Death Note 1.0"; }
and use the code in html
<FONT FACE="05_ZZ Death Note 1.0" SIZE="5"> Aa Bb Cc Dd Ee Ff Gg </FONT>
or
<div class="deathnote">testing</div>
Example : http://www.microsoft.com/typography/web/embedding/default.aspx
wiki : http://en.wikipedia.org/wiki/Embedded_OpenType
link : http://www.microsoft.com/typography/WEFT.mspx