Codeistry

Posts Tagged ‘design’

Q&A: Images of text vs. Webfonts

Friday, November 19th, 2010

A little while ago I got a question from a good friend and client of mine about using fonts on websites. This also applies to other ways of faking web fonts, like sIFR. As others have been asking me about this lately, I thought I’d put my answer up here, so that I can point poeple at it in the future:

Q:

Please remind me about images of text vs real text on websites. Search engines search alt. text so why not have a navigation with images and nice typography rather than a limited selection of web fonts?

A:

It’s true that search engines search alt. text – and you can do it that way. If you’re determined to use images, you should probably also use a hidden <span>Menu Text</span> inside the <a> element. These sort of work Ok, for the most part. The arguments for and against this are sort of like flash sites vs. real websites; one is the Right Thing To Do and one isn’t. You can make the wrong way work mostly Ok, if you work at it, but however hard you try, there are always downsides and you’re putting yourself at a slight disadvantage all the time.

Why is real text better?

There are a large number of little reasons why text is better than images; images are: harder to update when you change or add things to a site, harder to update when you change site designs or colours, much larger and slower to download, cause extra HTTP requests slowing down page loading even further, aren’t searchable (either by search engines, or users with ctrl+f), aren’t translatable, don’t zoom/re-flow as well on mobile devices, don’t render as well when zoomed or viewed as different resolutions, don’t print very well, aren’t as accessible, etc, etc…

Even better…

Also, I saved the best bit till last: You don’t need to choose any more! The ‘limited selection of web fonts’ issue has gone away – you can now use any font you like, provided that you’ve got a license to use it on a website. As far as I can see, this makes using images of text completely obsolete – I can now think of no circumstances where using images of text is even remotely justifiable. Previously, the only argument in favour of images was ‘it looks nicer’; this solitary argument in their favour is now gone.

Here are some resources that cover modern web fonts:

Here are some examples of sexy looking websites that make good use of modern web fonts. Notice that all the text is normal, selectable, searchable text, even the sexy looking stuff:

Some by me:

lots by others:

How do I actually use webfonts then?

The webfonts stuff is all just CSS, and pretty simple to use. You just tell it where the font file is, and give it a name:


@font-face {
font-family: 'DroidSansRegular';
src: url('/fonts/droidsans-regular.otf');
font-weight: normal;
font-style: normal;
}

then you just use it as normal:


p {
font-family: DroidSansRegular, Arial, sans-serif;
font-size: 18pt;
}

there are various tools which will write the (slightly more complex) cross-browser version of that. I used FontSquirrel for http://joaobarao.com/ – you can see what it generates here: http://joaobarao.com/css/joao.css – all the @font-face stuff at the top is generated for you by FontSquirrel. I used two excellent free / open fonts: Fontin and Droid Sans on the http://joaobarao.com/ site.

9 Steps to Improve your small business website

Thursday, March 26th, 2009

As a web designer & developer, I see a lot of websites, many of them belonging to small businesses. I’m also an independent, running my own business – my website is my shop window, so this subject is close to my wallet heart. There are some common things missing in a lot of the websites that I look at, things that would really improve the website and make it work harder for its owner. Fortunately, most of the missing bits are fairly easy to add.

This list is intended to make you think about your own website and give you practical, actionable steps that you can take right now to improve things. None of these things are difficult and most of them can easily be done in an hour or two. Print this off, mark the ones that you think you need to work on, and tick off one a week.

See the 9 Steps to Improve your small business website article for the steps!

Second lot of Business Cards already!

Thursday, July 31st, 2008

New rounded corner Codeistry business cardsOrdered my second lot of business cards today! I’ve already given out almost all of my first batch of 50 cards.

I ordered them from Goodprint, the same place I got them from last time. The only changes I made was to get the newly available rounded corner option and to order 2 boxes of 50. I did this without changing the card design at all – which was probably a mistake. I think the text comes too close to the edge near the rounded corners and looks unbalanced. These aren’t bad but on the whole I think I prefer the old rectangular ones.

Got my first lot of business cards today!

Tuesday, January 8th, 2008

First Codeistry Business Card, as seen in the Goodprint preview thing.Got my first lot of business cards today!

It’s strange but it feels like it’s finally an official business, now that I’ve got some little cardboard rectangles to prove it!

I ordered the business cards from GoodPrint, an online printing company here in the UK. Their prices are reasonable, they allow you to upload your own artwork as PDF and the ordering process is very good. You upload the PDF and they show you a preview of the finished item, along with all the margins, borders and cut lines – so you can make sure that you’re going to get exactly what you want, without any edges getting chopped off or anything.

I decided that the cards were worth doing properly, as these are going to be in the hands of prospective customers; I wanted them to look elegant and feel high quality.

Most online printers have a range of pre-designed cards that you can choose from, and customize with your name and logo. These are by far the cheapest option – and some of them aren’t bad – but they aren’t what I want. I’m supposed to be a designer, as well as a developer, so I really need to design these myself.

I played around for a while with different designs (which I didn’t keep, unfortunately, so I can’t show them here) using Xara, my drawing program of choice on Windows.

This is the design I ended up with, this is the front: Codeistry business card, version 1, front.
and this is the back:
Codeistry business card, version 1, back

I ordered 50 cards, on GoodPrint’s standard card, with a nice silky matte finish, for £32 plus delivery. Fairly pricey but not outrageous. They also arrived the day after I ordered them, which was nice. All in all, I’m very pleased with them. Now all I have to do is find people to give them to!

Codeistry look & feel – website font choices

Sunday, November 18th, 2007

logotype-green-website-fonts-coloursMy choice of logotype font paid off here, allowing me to use Tahoma as a heading font. This works well, as Tahoma is installed on almost everyone’s computers and is a very readable font for on-screen work. It’s also excellent at heading with a strong bold weight.

I wanted a contrasting font to go with Tahoma for use with body text – what you’re reading now. I wanted a font which would continue the theme of contrast between the technical and the artistic set-up by the logotype, but couldn’t use Candara, as almost no-one has it installed, so they wouldn’t see it when viewing the website. Candara also inevitably looses some of its subtle curves and arty feel when you get down as small as 11 or 12 point.

I also wanted to give an organic feel overall – I wanted the ‘artistic side’ to win out in the overall feel of the design.

I ended up using the font that you’re reading now, Georgia. This is another very nice font, very readable at body text sizes, with a large x-height and open letter forms. It’s also a serif font – which are generally felt to be more readable for longer passages of text. It contrasts nicely with the Tahoma headings and gives the page a very organic feel overall.

Codeistry blog is proudly powered by WordPress Entries (RSS) and Comments (RSS).