Web Font Considerations From the Designer and Developer

**Only a few years ago, the list of available font faces on the web were limited to what the majority of end users would have pre-installed on their machine, whether Windows based or Mac.**

Now however, developments in the web world have changes all of this. Here, we look at how these changes have impacted on the development of websites – both during the design and build stages.

From the developer

Many print fonts aren’t suitable for certain displays or screen resolutions. This is because fonts are limited by pixels – thousands of small dots which individually light up to make up a picture. This layout of pixels in a grid causes issues when rendering curves arches and circles.

Fonts have been rendered in many ways over the years, and even today are displayed differently depending on the operating system, screen type, and even web browser. With these limitations in mind, we can safely use certain font faces for specific means. We are able to use a Calligraphy style script faces for large headings safely for example, as at a larger size the rendering of the letters do not rely so heavily on techniques such as subpixel rendering.

For body copy (paragraphs/main content), a bit more consideration is required. At smaller sizes, the style of the font face – and the way in which it was developed (or converted from print font to screen font) – is important to whether it will remain clear and usable.

With certain fonts, it may appear crisp and clear at sizes 7 and 9, but blurry at 8.

There are a number of “font services” which provide access to a vast library of font faces., Certain licensed fonts are only available on specific providers, and each provider has subtle differences in the way they work; both in how to implement the font onto your website, and special features they provide. These features include delivering tweaked fonts to certain browsers and operating systems to assist in clarity.

### **Implementation**

Fonts have been injected into websites a number of ways.

These range from old techniques such as Flash and Javascript replacement. This works by scanning over the copy on your website, and individually pulling out the letter, and replacing them with an image or flash embed rendered in the desired font.

These have downsides in that it would harder to select the text on the page. The flash technique wouldn’t work on a vast majority of devices which do not support such plugins including most phones, tablets, and the metro version of Internet explorer 10.

A new web-safe technique named @font-face is available to developers, allowing them to attach fonts to websites – whether this be by storing the font faces on the web server – and having visitors download the font in the background while loading the website.

Both of these techniques are near invisible to the end user. The only 3 technicalities are whether the site is set to appear blank while the font is being downloaded and rendered, or whether you risk the site loading as soon as its available with a fallback font, and then a possible flickering of the page, as the new font is applied to the copy.

The 3rd technicality, even with @font-face being largely supported, older browsers might not support this technology, and there is a possibility of a font provider going offline for a short period of time, always provide a fallback font, preferably something similar to the chosen font e.g. Helvetica and Arial.

From the designer

Many web design­ers think that typog­ra­phy con­sists of select­ing a type­face, choos­ing a font size and deciding whether it should be italic or bold. For most web designers, it ends there. But there is much more to achiev­ing good typog­ra­phy, and it’s in the details that design­ers often neglect.

Here are some sim­ple ways you can improve your web typog­ra­phy at the initial design stage.

 

### **Measure**

The mea­sure is the length of a line of type.

To a reader’s eye, long or short lines can be tir­ing and dis­tract­ing. A long mea­sure dis­rupts the rhythm because the reader has a hard time locat­ing the next line of type. The only time a nar­row mea­sure is accept­able is with a small amount of text.

For opti­mum read­abil­ity you want the mea­sure to be between 40 – 80 char­ac­ters, includ­ing spaces. For a single-column design 65 char­ac­ters is con­sid­ered ideal.

### **Leading**

Lead­ing is the space between the lines of type in a body of copy that plays a big role in read­abil­ity. Cor­rectly spaced lines make it eas­ier for a reader to fol­low the type, and improves the over­all appear­ance of the text.

### **Baseline Grid**

A (link: https://www.superdream.co.uk/tutorial-setting-up-a-baseline-grid-in-indesign/ text: base­line grid popup: true title: Tutorial – Setting Up a Baseline Grid in inDesign) is the foun­da­tion for con­sis­tent typo­graphy.

It allows the reader to eas­ily fol­low the flow of the text, which in turn increases read­abil­ity. A con­tin­u­ous rhythm in the ver­ti­cal space keeps all the text on a con­sis­tent grid.  This ensures pro­por­tion and bal­ance are retained through­out the page, no mat­ter the type size, lead­ing or measure.

### **Widows & Orphans**

A widow is a short line or sin­gle word at the end of a para­graph. An orphan is a word or short line at the begin­ning or end of a col­umn that is sep­a­rated from the rest of the para­graph.

Wid­ows and Orphans cre­ate awk­ward rags, inter­rupt the reader’s eye and affect read­abil­ity. They can be avoided by adjust­ing the type size, lead­ing, mea­sure, word spac­ing, let­ter spac­ing or by enter­ing line breaks.