Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Whay does font look different in my HTML page and photoshop ?

Posted on 2008-10-15
2
Medium Priority
?
770 Views
Last Modified: 2012-05-05
I am using Verdana in css style sheet for some texts ..it seems to appear different in in look in Photoshop and HTML...In adobe photoshop i have chosen 'smooth' for the font, without 'smooth' it looks more similar..is there then a way to replicate 'smooth' effect in html/css ?

regards
sid
0
Comment
Question by:young_buddha
2 Comments
 
LVL 5

Expert Comment

by:nkoriginal
ID: 22721574
0
 
LVL 6

Accepted Solution

by:
gxp071 earned 2000 total points
ID: 22721836
You can use a technique called sIFR to embed fonts into html

Quoted Definition - "sIFR is meant to replace short passages of plain browser text with text rendered in your typeface of choice, regardless of whether or not your users have that font installed on their systems. It accomplishes this by using a combination of JavaScript, CSS, and Flash, which renders the font. It degrades gracefully if Flash is not present. sIFR 3 is open source and licensed under the CC-GNU LGPL."

which will also render the fonts anti-ailsed (photoshop esk) and it degrades nicely so if flash or JS is not present the user ends up with a usable page.  It can be tricky to implement tho so best used sparingly.

http://novemberborn.net/sifr3

Also though there is a lot the end user can do to improve the situation,  a lot of the problem is the way the users computer renders text, and newer OS's like lepard and Vista use "Clear type" to rend text anti-ailsed making it look much better and much easier to read.  Windows XP user can install a free power tool that enables XP to use Clear Type rendering from the microsoft website.

Not sure what the situation of clear type is on linux.

Anyway some stuff you might want to look up :)
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

963 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question