Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Cufon rules!

Cufon rules!
Thread Tools
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Apr 17, 2009, 12:16 AM
 
Any web developers using Cufon here?

Cufon allows you to use a font of your choosing on a page, including fonts that the user doesn't have installed - the only limitation is dealing with licensing of embedded fonts. Cufon doesn't require images or Flash, it relies solely on Javascript to render its fonts converted into its own font format. You can replace any member of the DOM on a page with your Cufon generated font via CSS3 style selectors if you use Prototype or JQuery.

This page is a work in progress, but here is an example of Cufon in action. The backgrounds for the buttons are background-images, but the text for the buttons (which uses the font "Aldo") is straight HTML. This saved me from having to generate separate buttons in Photoshop - I can create these buttons on the fly using a helper function I created that works as follows in PHP:

Code:
$nmfunctions->makeButton('button text');
The mouseover effect of modifying opacity and the button's click event handler is handled by external Javascript observers using Prototype.

Font embedding is something that will be supported by the major browsers soon, but it relies on actually having the font file available on the server somewhere - this exposes it to theft. Cufon doesn't have this problem and it works in all major browsers today... I think it's brilliant, and it opens up developers to the possibilities of straying away from web friendly fonts without having to rely on images or Flash!

Any Cufon users here?
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Apr 18, 2009, 04:22 PM
 
No Cufon users, huh? Well, I strongly suggest checking it out! I've been finding it immensely useful, and it also provides designers with countless new options.
     
   
Thread Tools
Forum Links
Forum 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 On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:50 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2