computer help index
 
 
Search:
"Offering free computer help, hints, and tips to the Internet populace." Now with over 3,240 tips!

Web Development - Fonts

Why Are my Font Graphics Jagged?

If you use graphics to simulate different fonts on a page, you may notice that some of your fonts appear jagged. To solve this problem, you must use a graphics program that supports a feature called anti-aliasing. Corel PhotoPaint and Adobe PhotoShop support this feature, as do many shareware programs.

Anti-aliasing, at least in this case, smoothes the edges between two colors, such as your font color and the page/table background color. If your graphic has a black background and red text, for example, anti-aliasing will change some of the pixels in your graphic. It will create intermediary colors between red and black near the edges of your font, making the font appear to have smooth edges.
In order to do this correctly, you have to do a few things. First, determine the background color of your webpage or part of the webpage where your font graphic will appear. Use that color as the background color of your image. Now, place your text on the image, being sure to use anti-aliasing (see your graphics program manual for information). Now, save the font graphic as a transparent GIF, and make the transparent color the background color of your font graphic.

If you do this correctly, your font should appear very smooth on your website, giving it more of a professional look.


 
Add: Del.icio.us | Digg | Furl | My Yahoo!
 
Discuss This Tip

Print This Tip

Get E-Mail When New Tips are Online

Return to the Web Development - Fonts page.

RSS Feeds - Subscribe!
 

You want the latest tech tips and tricks in your e-mail Inbox - FREE? Type your e-mail address below and click 'Subscribe'.
 



( sample / details ) ( opt-out instructions )
 


 Free Offer! - Subscribe to the MalekTips computer help list and be one of the first to get new computer tips, articles, and download links! ( privacy policy )  ( opt-out instructions )
This page and its contents are copyright
©1997 - 2008 Envision Programming. ( copyright/disclaimer )

Home | Free Computer Help Newsletter! | Windows | Web Development | DOS and Batch Files | Removing Spyware
Digital Camera and Photography | Computer and Internet | Software | Microsoft Word
Computer Articles | About | Contribute a Tip | Link To Us! | Computer and Technology Links
RSS Feeds |  Contact Us | Advertising | Privacy Policy | Computer Help Forums