Log In · Register

 
custom fonts
DrNick311
post May 29 2004, 08:22 AM
Post #1


.
******

Group: Member
Posts: 1,488
Joined: Feb 2004
Member No: 3,625



I've seen several examples of people embedding custom fonts on their Xangas (ie. Roxanne's latest Gadget Tech skin.) I have two questions:

1 - How do I make the font into .EOT format (like Roxanne did)?
2 - Is it possible to just upload TrueType fonts and embed those?
 
 
Start new topic
Replies
xquizit
post May 29 2004, 11:44 AM
Post #2


wanderlust personified.
*******

Group: Official Designer
Posts: 7,515
Joined: Jan 2004
Member No: 797



Once you've created the .eot file, upload it somewhere and add this to your css:

CODE
<!-- begin code provided by createblog.com -->
@font-face {
font-family: "NameGoesHere";
src: url("http://fileurl.eot");
}
<!-- end code provided by createblog.com -->


For font-family, give your embedded font a name.

Then for every instance in your css that you give a font family, put in whatever name you used for the font-family in the code above.

ex:
CODE
<!-- begin code provided by createblog.com -->
@font-face {
font-family: "techy";
src: url("http://xquizit.cbstaff.com/fonts/techy.eot");
}
body, font, td {
font-family: "techy";
}
<!-- end code provided by createblog.com -->
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: