How do fonts work in different browsers?
|
Follow this link to download the full size image.
Hi I'm Anton and I work as a Senior Designer in Fi. Lately I've been designing a lot of HTML-targeted sites, mostly portals. As a designer I spent a lot of time in Photoshop perfecting every single detail and then looking forward to it looking exactly the same in the working prototype. The only thing we don’t have a control over is font rendering. Different browsers on different OSes render fonts in so many different ways.
So my goal was to see how all of the most common browsers render Arial and Tahoma, printscreen them, and compare to the way they look in Photoshop.
reagrds,
Anton
-
speedoflife
12 months ago
Thank you for this, it is very helpful! Please keep it up :
-
SNDKno
12 months ago
Great one. I have done the same process. I use Sharpe and None. I also try to never use the B option but the font version of Bold. I see a lot of great Photoshop/jpg sketches that you clearly see that stuff like spacing would not look like that as HTML text. A friend of mine tipped me about having "html font sample" as brushes. I have not tested it though myself.
-
bachian
12 months ago
That's a serious problem Anton. Photoshop should have more options of anti-aliasing instead of just nothing, sharp, crisp, strong and smooth.
Something like Flash custom AA would be fine for most of us.
Thans for share your PSD file with us!
-
Stratto
12 months ago
A fantastic entry Anton
It is definitely one of the most over look items of design in HTML sites.
For me I use a very similar setup having none for anything 11px or less and Sharp or any text 12px plus. However, I cannot say I have ever used Tahoma, most of the site designs I have been involved in have Arial, Helvetica and Verdana as their fonts in the style guide.
However, I do like playing around with the CSS and adding non-standard web font so if the user has the fonts it will look just like beautiful, especially when making the embossed look in HTML/CSS.
E.g.
Text element {
font-family:"Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif;
}
Keep up the quality work Anton & everyone at Fi
Stratto
-
ashenden
12 months ago
Thanks for putting this font stylesheet together. I spend probably 90% of my work day in photoshop developing websites for the web and applications for the desktop and phone. Font rendering has always been a thorn in my side. I tend to approach the issue the same way as you. For smaller fonts, I keep the aliasing to none. This really brings out the individual glyphs and is much easier to read. Larger fonts are always set to crisp, as opposed to sharp - which seems to be the direction you take. There is not much difference visually, except Sharp tends to appear bolder. In certain situations this helps. In the end, I end up having to run back over the developers css, changing font sizing, family, and weight to match up with how I intended it in the design;)
Thanks again, JoHn
OH...I'd love to see the stylesheet expanded out to include Helvetica and Georgia as well.
-
jabocu
12 months ago
Awesome content...
A couple questions... 1) What screen capture software are you using for videos like this? 2) In an effort to improve on font appearances on HTML sites... what is Fi's policy or your philosophy for Flash Font Replacement on Fi sites? Curious
You guys are great! Keep up with these great little lessons!
-
SNDKno
12 months ago
Quoted from: jabocu - "1) What screen capture software are you using for"
-
repponen
12 months ago
Quoted from: bachian - "Photoshop should have more options of anti-aliasing instead of just nothing, sharp, crisp, strong and smooth. Something like Flash custom AA would be fine for most of us."
Bachian, totally agree with you. That way designers will be able to use many fonts (not only these 2) in a more effective way.
-
André Gonç...
12 months ago
Hi, first of all thanks for the post, it is really great and helpful to see how other people work! I think I have a similar process has you. I try to work for the browsers that have the worst type rendering...in this case Firefox. So, if I’m working with fonts smaller than 17px I normally put the text set to "none", and if it´s bigger, set to "crisp". And because I usually like to work with a lot of grid systems and rulers, I find it cleaner and "pixel perfect" to work this way.
Normally I don´t have any bad surprise in internet explorer (great render) on in the safari (only when it´s white fonts in dark background). Of course, because of the kerning changes, when you work with thin blocks of text, the difference is bigger.
Again, great post!
Ps. sorry for my English...but I'm Portuguese.
-
vashsm
12 months ago
Hi Anton, thank you for the entry! I have a question though. When you set a title to smooth, like the "Amelie" text, won't it still come out as having none instead of smooth when displayed in browsers?
-
repponen
12 months ago
Quoted from: vashsm - "When you set a title to smooth, like the "Amelie" text, won't it still come out as having none instead of smooth when displayed in browsers?"
It will, in Firefox (PC). The thing is that I like the way "sharp" in Photoshop looks like more than when it is "none". But settings in Photoshop are really weak, that "none" even look closer to what IE and Firefox will have with smoothing on it. So I am using none on everything that is 12 and below, all fonts that are larger I set to "sharp" (instead of chrisp) just because none looks way too ugly (and in reality will be only in Firefox PC), it's a small compromise here :)
-
repponen
12 months ago
Quoted from: jabocu - "What screen capture software are you using for videos like this?"
I was using Screenflick on my Mac.
-
Stratto
12 months ago
We had an Adobe representative visit us last week and say that Adobe recommend that we use Fireworks for web projects and photoshop for everything else. Which sure enough we questioned him on.
So a small test I will do tonight as I' am really interested in this topic:
I would like to compare font rendering in Fireworks to Photoshop and see if there is any difference? Now straight away I would think that they should be the same but if Fireworks was to look closer to how browsers represent text then there is my request for Photoshop CS5 :)
-
krauser
12 months ago
Thanks for sharing, I'm a big fan of Arial and use it for all projects as i find its very professional and works well at most sizes, the shape of the font is great too which is why I choose arial. I totally hate Verdana as its too wide and heavy and just looks ugly. I've used tahoma in the past but after watching this you've made some good points for small type fonts on screen. I do use sharp often as well as smooth just seems too blurry in most cases.
-
hernan
12 months ago
tahoma rocks!
-
jayjo
12 months ago
Tahoma is definitely a great typeface to use, especially at 11pt where I believe it looks its best. However, one thing to keep in mind is that Macs, unlike Windows PCs, don't come with Tahoma pre-installed. Tahoma only gets installed if the user installs MS Office on their Mac.
To get around this, I'd suggest using Lucidia Grande as a secondary font for Macs. We did some tests a while back and decided that Lucidia Grande was the best looking font to replace Tahoma at the point sizes we were using, and if you actually look at Kontain closely, you will see that all Tahoma has been replaced with Lucidia Grande on the Mac.
-
Erick
12 months ago
I'm actually in process in developing a very simple module called Font Rendering which solves this problem, which you use ANY font type and display it in legit html font type. The designer can package any font type into a special format then we have the html/css reference the javascript which reads and translate the package and display the font type into html basically tricking the browser to reference the font package instead of the users installed fonts without having the user to download or install anything the best part is it's very quick, seamless and efficient and will soon be out for all the developers to use :) If anyone is interested in more about this you can email me at e_correa909@hotmail.com
-
Chris
12 months ago
Anton.
Have you not thought about using SiFR? I have implemented it on my latest website - just for main headers - and it has an amazing effect. It is pretty robust and reliable. I haven't come across any issues in any browsers yet (except my Mother's old Nokia phone browser!).
The important thing about using SiFR is that you can really 'flavour' a site design with even a single typeface, and this flavour will cascade down through the design to give a rich / beautiful / unique feel. So many websites have an 'arial, arial, arial, tahoma, arial' sans-serif feel to them, but with a carefully chosen SiFR font header, it makes an amazing amount of difference to an html site.
-
Reinier
12 months ago
Really great post, thanks!
By the way: Are you at F-I using a css solution to have a "white shadow' beneath the 'Related' and 'Playing Now' typo's?
-
h1brd
12 months ago
Congratulations on an amazing video, very insightfull and a good explanation, thank you and keep doing more posts with this quality. As to the font using and rendering i basically go for the workflow you use, and Lucida Grande omg, it's so cool when we are designing =]
-
vashsm
12 months ago
Quoted from: repponen - "It will, in Firefox (PC). The thing is that I like the way "sharp" in Photoshop looks like more than when it is "none". But settings in Photoshop are really weak, that "none" even look closer to what IE and Firefox will have with smoothing on it. So I am using none on everything that is 12 and below, all fonts that are larger I set to "sharp" (instead of chrisp) just because none looks way too ugly (and in reality will be only in Firefox PC), it's a small compromise here :)"
K, think I got it. Thanks anton!
-
patapon
12 months ago
Privet! Ohen' poleznoe video. Spasibo! U menya est' tol'ko odin vopros. Kogda ti pokazival shrift, kotoriy ti ispol'zoval, to tam bilo ukazano 12 pt. V svoyu ohered' ya privik k edinice "px" i vsegda dumal hto "pt" eto dlya pechati v poligrafii.
-
PJ
12 months ago
Hi, this video was very helpful in clearing my doubts about the same. I usually used 'none' with Arial 12. But now am all game for Tahoma :)
-
villain2
12 months ago
The designers at my firm could server well to follow this tutorial/observation. Especially since they're Mac people and I am a PC guy ... the fonts never match and my published Flash projects NEVER have the same Humanist 56B T-Obscure-Leading font they have!
-
xstorm
12 months ago
Very nice post!
Already couple years I use Arial, Tahoma in combination with sharp, none options. But I agree that photoshop is realy weak in antialising fonts and I can`t understand whay Adobe still not solved this problem in photoshop, so I think Arial, Tahoma with Sharp, None options is the best way to do it.
-
Leasim
12 months ago
Ive been doing similar. Instead of using Tahoma, ive used verdana none, i really like the way it looks at 11. But thanks for reminding me about Tahoma, and its better kerning compared to arial.
-
adore
12 months ago
YO Jean! excellent post... i found this sweet little site that is along the same lines as your post.. www.typechart.com
-
Mistermmmh
12 months ago
Thx for the tip .. Anton.
-
clefevre
12 months ago
You could of course specifiy Helvetica before Arial in your style sheets, so you could add that to the chart under all OSX browsers.
Then you can have a comparison of Arial (PC) vs Helvetica (OSX) and then Arial (OSX) vs Helvetica (OSX).
-
Ali
11 months ago
Nice Job Anton ! Those components looks very JUICY little request I think from me and all other viewers out there too, You should make a tutorial/video on how you design compnenets and what are the principles of designing an application something like that.
Thanks Love those juicy embeded buttons.
-
John
11 months ago
I agree wth Ali :)
-
RandomPixels
11 months ago
for the sake of the argument, i would like to see there IE6 :)
-
zaheto
11 months ago
Hi from Bulgaria :) Great post Anton. I work exactly like you.
-
Jeremy
11 months ago
Hi, anton nice post! ver usefull. I don't get why you use "Sharp" in AA settings don't that make your fonts blurry ? It does on my PS (PC). Dosen't it look blurry on the web browser too ?
-
Per Christ...
11 months ago
Great post. I will use it to prepare my clients :)
I would love to see a similar comarison with negative text. All negative text looks bold in Sarafi.
-
Ionut
11 months ago
Hello Anton,
It's nice to see how other designers in the industry do stuff you had questions about. I used to design mockups with no aliasing on fonts but now I mostly use crisp or smooth. It doesn't look exactly like in the browser but that is a display medium influenced by the user-agent and by the os, and not the least by the user who decides if he wants to turn on any aliasing features and so on.
Looking fwd to more practical posts, and i've also subscibed to your rss
Good Luck!
-
Petter
11 months ago
Thank you. Here's another handy web font site http://www.typetester.org/
-
adamcopppock
10 months ago
Thanks for the post. This is useful. Have a look at the following link. Veer have created a font comparison webpage: http://www.typetester.org/ hope this is useful
-
manattweb
10 months ago
Great post - I typically only use my Photoshop/Fireworks files to get a rough idea of how something will look because I know I'll have to use HTML-standard fonts when it is built. I also only use HTML-ready fonts in my designs so I'm not tempted to create a bunch of images that can potentially make the site sluggish for the end-user.
-
Outsourcing
10 months ago
Thanks for the post. This is useful.
-
Ryan
10 months ago
Like you, I use the Sharp method of anti-aliasing in my Photoshop mock-ups because it is the most accurate representation of how the font will render in a browser. I turn off anti-aliasing for font sizes 10pt and smaller.
If I'm designing something for Apple OSX, I will use Lucida Grande because a) it's the default system font on a Mac, and b) it's beautiful.
Thanks for putting the chart together, great reference sheet!
-
sooraj
9 months ago
Thanks man, Useful! But as you said "In reality" we have to use 'none' for the development, eventually the design look little from the original PSD, so is that a great idea to keep it sharp and later change to ‘none’?
Once again thanks for the post! I love Fi designs... You guys rocks!!
-
Gecski
9 months ago
Hi to all!
Somebody has ideas how to do similar things in Adobe Illustrator?
I apply Rasterize (Type Optimized) effect and then Unsharp Mask effect to all texts exclude titles. But the result is not so perfect.
-
zzzzz
5 months ago
waste of time
-
shaz
3 months ago
Hi Anton and others. Can someone tell me how to create the embedded looking buttons and font in Anton's video? would appreciate it!
Comments (45)