Fonts Guide

Typographic Design Patterns And Current Practices (2013 Edition)
  • Serif fonts are more popular than sans-serifs for both headlines and body copy. There is, however, a trend to mix sans-serifs and serifs to contrasting effect.
  • The most common fonts for headlines are Georgia, Arial and Chaparral Pro. But the majority of websites are individualized and use less common fonts.
  • The most popular font size for headlines is between 29 and 32 pixels.
  • The most popular font size for body copy is between 14 and 16 pixels.
  • headline font size ÷ body copy font size = 2.4
  • line height (pixels) ÷ body copy font size (pixels) = 1.47
  • line length (pixels) ÷ line height (pixels) = 24.8
  • space between paragraphs (pixels) ÷ line height (pixels) = 1.43
  • The optimal number of characters per line is between 55 and 75, but 75 to 90 is more popular.
  • Body text is left-aligned. Hyphenation is not used at line endings. And links are underlined and/or highlighted with bold or color, sometimes only on hover.
  • Mobile devices are mostly adapted to via responsive design, although some publications opt for a dedicated app.

More details…

Some common terms:

Glpyhs

An individual mark on a written medium that contributes to the meaning of what is written. A glyph can be an alphabetic or numeric font or some other symbol that pictures an encoded character. An ideal characterization of characters and glyphs and their relationship may be stated as follows:

  • A character conveys distinctions in meaning or sounds. A character has no intrinsic appearance.
  • A glyph conveys distinctions in form. A glyph has no intrinsic meaning.
  • One or more characters may be depicted by one or more glyph representations (instances of an abstract glyph) in a possibly context dependent fashion.

Wikipedia – Glyph.

Font

Letters, numbers, punctuation and other symbols stored in a computer file or physically as metal stamps. You may have a font for bold, a font for italic and a normal font for example all having the same typeface and together considered a family.

]
Typeface

The stylistic rendering of letters, numbers, punctuation and other symbols for a Font or Fonts in a Font Family.

Font-Family

In typography, a typeface is a set of one or more fonts each composed of glyphs that share common design features. Each font of a typeface has a specific weight, style, condensation, width, slant, italicization, ornamentation, and designer or foundry (and formerly size, in metal fonts). You may think of a Font Family as the normal, bold and italic version of the Font. Wikipedia.

Font foundry

A type foundry is a company that designs or distributes typefaces. Originally, type foundries manufactured and sold metal and wood typefaces and matrices for line-casting machines like the Linotype and Monotype machines designed to be printed on letterpress printers. Wikipedia.

Font Weight

Each font can have more than one style. Arial for example has Arial Black. Each requires a separate set of glyphs. More generally font weight it is isolated to mean the thickness of the typeface.

A detailed list of font terminology can be found at the FontShop Glossary.

font-family

A list of one or more font family names that are available either on the web browser’s computer or were downloaded. Examples:

  • font-family:Consolas, 'Andale Mono', 'Lucida Console', 'Lucida Sans Typewriter', Monaco, 'Courier New', monospace
  • font-family:'Gill Sans', 'Gill Sans MT', 'Myriad Pro', 'DejaVu Sans Condensed', Helvetica, Arial, sans-serif
  • font-family:Cambria, 'Hoefler Text', 'Liberation Serif', Times, 'Times New Roman', serif

Generally you want to include a safe font name for fallback in case the font you intended is not available. The fallback font is selected by the web browser usually from the computer operating system. This is a list of fallback font family names:

  • serif Pronounced: . Glyphs have finishing strokes, flared or tapering ends, or have actual serifed endings. E.g. Palatino, “Palatino Linotype”, Palladio, “URW Palladio”, serif
  • sans-serif Pronounced: . Glyphs have stroke endings that are plain. E.g. ‘Trebuchet MS’, ‘Liberation Sans’, ‘Nimbus Sans L’, sans-serif
  • monospace Pronounced: . All glyphs have the same fixed width. E.g. “DejaVu Sans Mono”, Menlo, Consolas, “Liberation Mono”, Monaco, “Lucida Console”, monospace
  • cursive Pronounced: . Glyphs in cursive fonts generally have either joining strokes or other cursive characteristics beyond those of italic typefaces. The glyphs are partially or completely connected, and the result looks more like handwritten pen or brush writing than printed letterwork.
  • fantasy Pronounced: . Fantasy fonts are primarily decorative fonts that contain playful representations of characters.
font-size

Size of the font. Examples:

  • font-size:large
  • font-size:50px
  • font-size:1.1em
  • font-size:110%

Although you can change the font size for text containing tags, be sure to use the correct semantic font to maximize search engine reading. In other words a large font for a heading using the <p> tag should be replaced with the <h1> tag.

font-weight

Boldness of the font. Examples:

  • font-weight:bold
  • font-weight:lighter (less common)
  • font-weight:bolder (less common)
  • Often with downloaded fonts font-weight:100 (lightest) to font-weight:900 (boldest).

    Make name sense of the numeric weights:

    • 100 Thin, Hairline
    • 200 Extra Light
    • 300 Light
    • 400 Normal, Book
    • 500 Medium
    • 600 Semibold, Demibold
    • 700 Bold
    • 800 Heavy, Extra Bold
    • 900 Black
font-style

Italic or not. Examples:

  • font-style:italic
  • font-style:normal
text-decoration

Underline, overline or line through. Examples:

  • text-decoration:underline
  • text-decoration:overline
  • text-decoration:line-through
text-transform

The case of letters. Examples:

  • text-transform:capitalize (first letter of words uppercase)
  • text-transform:uppercase (everything uppercase)
  • text-transform:lowercase (everything in lowercase)
  • text-decoration:none
letter-spacing | word-spacing | line-height | text-align

Spacing and positioning. Examples:

  • letter-spacing:0.5em; (spacing between letters)
  • word-spacing:2em; (spacing between words)
  • line-height:1.5 (height of the lines in an element without impacting font size. multiple of the font size)
  • text-align:center (Align within element left, right, center, or justify.)
  • text-indent:1em; (Indent the first line of a paragraph. Not common for digital media. Common for print media.)
CSS3 @fontface rule
Define a name for the font (e.g. myFirstFont), and then point to the font file. The @font-face rule is supported in Internet Explorer 9, Firefox, Opera, Chrome, and Safari.

Properties

  • font-family: Required the name of the font.
  • src: Required URL of the font file.
  • font-stretch: Optional font stretching. Values: normal condensed, ultra-condensed, extra-condensed, semi-condensed, expanded, semi-expanded, extra-expanded and ultra-expanded. Default is normal.
  • font-style: Optional styling. Values are normal, italic and oblique. Default is normal.
  • font-weight: Optional specification for the font boldness.Values are normal, bold, 100, 200, 300, 400, 500, 600, 700, 800 and 900. Default is normal.
Example
@font-face
{
font-family: myFirstFont;
src: url(sansation_bold.woff);
font-weight:bold;
}

Browsers

  • IE 9
  • Chrome 4
  • Firefox 3.5
  • Safari 3.2
  • Opera 10.0
CSS3 Web Font Formats
  • TrueType Fonts (TTF). Apple and Microsoft. 1980s.
  • OpenType Fonts (OTF). Scalabe font. Microsoft Registered Trademark.
  • The Web Open Font Format (WOFF). Compressed OpenType or TrueType with additional meta data. W3C Recommended. 2009.
  • SVG Fonts/Shapes. Scalable icons and text.
  • Embedded OpenType Fonts (EOT). Microsoft. Compact OpenType.
Useful Tools
  • Font Dragr. Allows you to easily test custom fonts, through the @font-face at-rule, without the need for any CSS coding or knowledge of CSS coding. All you need to do is drag and drop.
  • FFFFallBack. Helps find the perfect fallback fonts, so that your designs degrade gracefully.
  • WhatFont. Quick way to find out what fonts are used on a web page.
Downloadable Font Sources
  • Adobe Typekit. Typekit was founded in 2008 by a few designers and developers who were passionate about putting great type on the web. Acquired by Adobe in 2011, the team continues to work towards making typography accessible, universal, empowering, and delightful.
  • Adobe Edge Web Fonts – Free No Signup. Edge Web Fonts is a free service that provides access to a large library of fonts for your website. It’s one of the Edge Tools & Services from Adobe. Use of the service is free and unlimited – see the terms for details. Use and distribution of the fonts is according to the licenses linked to from the details provided for each font in the library.
  • Font Awesome. Font Awesome is a full suite of pictographic icons for easy scalable vector graphics on websites, created and maintained by Dave Gandy.
  • MyFonts. MyFonts is a digital fonts distributor, based in Woburn, Massachusetts, selling fonts through the www.myfonts.com web site. It was created by Bitstream Inc., launched in September 1999 (during the ATypI conference in Boston), and started selling fonts in March 2000.
  • Google Fonts. All of the fonts are Open Source. This means that you are free to share your favorites with friends and colleagues. You can even customize them for your own use, or collaborate with the original designer to improve them. And you can use them in every way you want, privately or commercially — in print, on your computer, or in your websites.
  • Typecast. Typecast works just like the web, with an infinite canvas. Design a working prototype using our simple visual controls then export production-ready HTML & CSS or share by URL.
  • Font Squirrel. Font Squirrel scours the internet in search of FREE, highest-quality, designer- friendly, commercial-use fonts and presents them for easy downloading.
  • 1001Fonts. Free Fonts. Since 1998.
  • Fonts.com. The Fonts.com™ store from Monotype offers more than 150,000 desktop and Web font products for you to preview, purchase and download. You can also learn about new typeface releases and discover typographic tips and techniques.
  • DaFont. Archive of freely downloadable fonts. Browse by alphabetical listing, by style, by author or by popularity.
  • CSS Font Stack. A complete collection of web safe CSS font stacks and web font CSS by Denis Lebanc.
  • FontShop. FontShop was the first font reseller in digital type history. There are four independent FontShops in Austria, Benelux, Germany, and the USA. FontShop International is licensor for the four FontShops.

Google Fonts

References

Basic Example

<html>
  <head>
    <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Tangerine">
    <style>
      body {
        font-family: 'Tangerine', serif;
        font-size: 48px;
        text-shadow: 4px 4px 4px #aaa;
      }
    </style>
  </head>
  <body>
    <div>Making the Web Beautiful!</div>
  </body>
</html>           
                
Posted on November 30th, 2015