Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 02-06-2003, 01:35 AM Fonts
Junior Talker

Posts: 2
Trades: 0
I'm wondering if any of you know how to embed some code (HTML, javascript, whatever) into your source that makes a viewer see a certain font whether they have that font on their computer or not. See http://chris.pirillo.com for an example (obviously his blog). When I first visited the site, I saw the font which was really awesome because I didn't have it on my computer. He's got a link to download the font, but it seems I didn't need to download it because it showed up perfectly. If you look at his source, I didn't see anything in the style sheet or the coding with that font and even if it was, I'm not sure how he made it so you instantly see the page in the right font. Heck, I even went to my local library and it showed up with that font. How do you do it?

Thanks
beammeup4 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-06-2003, 06:30 AM
david's Avatar
King Spam Talker

Posts: 1,314
Location: Glasgow, UK
Trades: 0
A quick look at the code looks like he is defining a new font using the following code:
Code:
  @font-face {
    font-family: Chris Pirillo;
    font-style:  normal;
    font-weight: normal;
    src: url(http://chris.pirillo.com/CHRISPI1.eot);
  }
where the URL of the font for the browser to download is given.

I assume if you do some changes you could get that code to work on your site, but I think the same thing was mentioned on Webmonkey somewhere:
http://hotwired.lycos.com/webmonkey/...tutorial1.html
__________________

Please login or register to view this content. Registration is FREE
- Everything a webmaster needs - for free

Please login or register to view this content. Registration is FREE
- Free web hosts reviewed and rated

Please login or register to view this content. Registration is FREE
- Impartial hosting directory - Add your host today for FREE
david is offline
Reply With Quote
View Public Profile
 
Old 02-08-2003, 07:31 AM
xtravel's Avatar
Super Talker

Posts: 125
Location: Maldives
Trades: 0
hi david,

i never heard a font format called, ".eot"

does anyone know how i can convert my own fonts made in ".ttf" to ".eot"

choa, xtravel
__________________
See the unique beauty of Maldives, Visit
Please login or register to view this content. Registration is FREE
xtravel is offline
Reply With Quote
View Public Profile
 
Old 02-08-2003, 03:01 PM
Junior Talker

Posts: 2
Trades: 0
actually, i found out the .eot is a special extension made by Microsoft WEFT (http://www.microsoft.com/typography/web/embedding/). This allows MSIE 5+ users to see fonts embedded on the websites that they don't even have on their computer. It doesn't work with Netscape or Mozilla though. If you have MSIE 5+, you can visit Chris Pirillo's site as an example (see above posts). It should come up as a handwritten-type font.
beammeup4 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Fonts
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.33754 seconds with 12 queries