<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Josh On Design &#187; fonts</title>
	<atom:link href="http://www.joshondesign.com/category/fonts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joshondesign.com</link>
	<description>Art, Design, and Usability for Software Engineers</description>
	<lastBuildDate>Tue, 27 Jul 2010 23:27:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Typography  101</title>
		<link>http://www.joshondesign.com/2009/12/02/typography-101/</link>
		<comments>http://www.joshondesign.com/2009/12/02/typography-101/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 01:57:16 +0000</pubDate>
		<dc:creator>Josh Marinacci</dc:creator>
				<category><![CDATA[fonts]]></category>

		<guid isPermaLink="false">http://www.joshondesign.com/?p=98</guid>
		<description><![CDATA[Typography is the study of type, meaning letter forms of the printed word; though in modern usage it includes all manner of non-printed letter forms such as computer screens, eBooks, electronic billboards, and even textiles. Typography is possibly the most important part of design because humans are visual creatures and nothing conveys more information in [...]]]></description>
			<content:encoded><![CDATA[<p>Typography is the study of <em>type</em>, meaning letter forms of the printed word; though in modern usage it includes all manner of non-printed letter forms such as computer screens, eBooks, electronic billboards, and even textiles. Typography is possibly the most important part of design because humans are visual creatures and nothing conveys more information in a smaller space than words. This article will cover the basic terms and anatomy of type, then give you some quick tips to help choose fonts wisely.
</p>
<p><span id="more-98"></span>
<p>Unlike my last topic, <a href="http://www.joshondesign.com/2009/10/25/color-101/">color</a>, modern typography is actually quite old. Most of modern color theory was developed in the 20th century with the invention of modern dyes, paints and emissive displays. The core typographic theories, however, were in place when Gutenberg made <a href="http://en.wikipedia.org/wiki/Gutenberg_Bible" onclick="pageTracker._trackPageview('/outgoing/en.wikipedia.org/wiki/Gutenberg_Bible?referer=');">the first printed books</a> over 500 years ago. Certainly a lot has been developed since then, but the universal principles of type like alignment and grids were already developed during the dark ages by monks transcribing bibles by hand. When Gutenberg converted these principles to his mechanical printing press modern typography was born.
</p>
<h3>Typeface vs Font</h3>
<p>First things first: typefaces versus fonts. A typeface, also called a font family, is <cite>a set of fonts designed with a stylistic unity, each comprising a coordinate set of glyphs</cite>. (<a href="http://en.wikipedia.org/wiki/Typeface" onclick="pageTracker._trackPageview('/outgoing/en.wikipedia.org/wiki/Typeface?referer=');">wikipedia.org</a>). A font is a complete character set of a typeface at a particular size, weight, and style.  In software engineering terms you can think of a typeface as a <em>class</em> and the font as an <em>instance</em> of that class with a particular configuration.
</p>
<p>The exact meaning of typeface and font have changed subtly over the years as the technology has shifted from mechanical type to computer-set type to purely digital type. Originally fonts from the same typeface were literally different boxes full of chunks of metal shaping each letter at a given size. These days we have scaleable font technology so different sizes, weights and styles can be generated algorithmically or the multiple forms can distributed in a single physical file. Thus font and typeface have somewhat merged, and today you can safely refer to a typeface as a &#8216;font&#8217; in general usage, and only use the more precise terminology when referring to particular instances of that font (or when talking to ornery typographers).
</p>
<h3>Anatomy of a Font</h3>
<h4>Weight</h4>
<p>The weight of a font is the thickness of the lines that make up the letter forms. Since this thickness is relative to the size of the letters we refer to these as their <em>weight</em>. You are probably most familiar with <em>bold</em> vs <em>regular</em>, but some fonts have as many as nine weights from <em>thin</em> and <em>light</em> up to <em>bold</em>, <em>heavy</em>, and <em>black</em>. The True Type font format specifies weights on a scale from 100 to 900. CSS can use words or scale numbers to specify the weight.
</p>
<p><img src="http://www.joshondesign.com/wp-content/uploads/2009/12/fontsPolice-Helvetica.gif" alt="Police-Helvetica.gif" border="0" width="340" height="266" /><br/><br />
<i>Helvetica (wikipedia.org)</i>
</p>
<h3>Style: AKA Slope, Italic &#038; Oblique</h3>
<p>We usually think of the slope of a font as italic or normal but, as with everything in typography, there&#8217;s more subtlety to it. <em>Italic</em> text really means text which is drawn differently to indicate it is emphasized and should stand out in some way.  Italic text can be programmatically generated by leaning the text to the right, called <em>oblique</em> text.  Some fonts include a true italics form which actually draws the letters with different shapes. Fancier fonts may lower the <em>f</em>s, adjust the roundness of letters, or lean to the left instead of the right (depending on the language).
</p>
<p><img src="http://www.joshondesign.com/wp-content/uploads/2009/12/fontsFirefoxScreenSnapz016.png" alt="FirefoxScreenSnapz016.png" border="0" width="400" height="58" /><br/><br />
<img src="http://www.joshondesign.com/wp-content/uploads/2009/12/fontsFirefoxScreenSnapz017.png" alt="FirefoxScreenSnapz017.png" border="0" width="400" height="58" /><br/><br />
<i>roman, italic, and oblique (wikipedia.org)</i></p>
<h3>Width</h3>
<p>Some fonts have wider and narrower versions of the letterforms. The terms for these versions vary by font maker, but will often be called things like <em>condensed</em> and <em>expanded</em>. These fonts adjust the horizontal width of the letters themselves.
</p>
<h3>Leading</h3>
<p>Leading  (pronounced like <em>treading</em> or <em>fed-ing</em>) is the spacing between lines of text. Back in the metal typesetting days they used strips of metal lead to separate lines, which is where the name comes from.
</p>
<h3>Kerning &#038; Tracking</h3>
<p>
<img src="http://www.joshondesign.com/wp-content/uploads/2009/12/fontsTrack_Kern.png" alt="Track_Kern.png" border="0" width="400" height="137" /><br/><i>Kerning and Tracking (wikipedia.org)</i></p>
<p>Kerning and Tracking are adjustments to the spaces between letters of a proportional font.  With tracking the extra space uniformly applied to all letters. With kerning the extra space allocated by letter pairs. This means that certain pairs of letters will have more or less space than other pairs, resulting in a more pleasing look.  In some cases letters may vertically overlap to make them look better.</p>
<p>Kerning values are very hard to generate algorithmically because it depends on the how the letter forms visually look to the human eye. For this reason well kerned fonts are created by hand by a font expert, and are therefore more expensive. The results can be well worth it, however, because the badly kerned fonts result in <em>keming</em>. Also available <a href="http://www.cafepress.com/ironicsans/4876886" onclick="pageTracker._trackPageview('/outgoing/www.cafepress.com/ironicsans/4876886?referer=');">as a T-shirt</a>.</p>
<p><a href="http://www.ironicsans.com/2008/02/idea_a_new_typography_term.html" onclick="pageTracker._trackPageview('/outgoing/www.ironicsans.com/2008/02/idea_a_new_typography_term.html?referer=');"><img src="http://www.joshondesign.com/wp-content/uploads/2009/12/fontsFirefoxScreenSnapz014.png" alt="FirefoxScreenSnapz014.png" border="0" width="291" height="122" /><br/><i>Keming, from Ironic Sans.</i></a></p>
<h3>Font Metrics</h3>
<p>The actual letter forms have a specific vertical anatomy based on how we measure them. Together these measurements are the font&#8217;s <em>metrics</em>. We use these measurements to decide how to put letters together to form words, lines, and paragraphs of text.
</p>
<p><img src="http://www.joshondesign.com/wp-content/uploads/2009/12/fontsFirefoxScreenSnapz018.png" alt="FirefoxScreenSnapz018.png" border="0" width="400" height="107" /><br/><br />
<i>Font Metrics (wikipedia.org)</i></p>
<p>Of the various measurements in this diagram the most important is <em>baseline</em>. The human eye finds baseline aligned text very pleasing, and will notice the tiniest imperfections in this alignment.
</p>
<p>In GUI software it is important to align UI controls containing text (which is most of the standard controls) along the baseline of the text rather than the visual bounds of the actual control. For example, a button should be aligned with the text inside the button rather than the rectangular edges of the button itself. It may seem like a small detail but it makes a big difference. I once spent a year fixing bugs in the Windows Look and Feel for Swing, and the most visible bugs were vertical alignment issues. Yes, I spent a year of my life turning this:
</p>
<p><img src="http://www.joshondesign.com/wp-content/uploads/2009/12/fontsbefore.png" alt="before.png" border="0" width="481" height="140" /></p>
<p>into this</p>
<p><img src="http://www.joshondesign.com/wp-content/uploads/2009/12/fontsafter.png" alt="after.png" border="0" width="482" height="138" /></p>
<p>All in all, I still think it was a year well spent <img src='http://www.joshondesign.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h3>Odds and Ends</h3>
<ul>
<li><strong>Small capitals</strong>, aka: smallcaps, is simply smaller forms of the capital letters. Usually these smallcaps have the same height as the lowercase letters of the normal font. Smallcaps may be included in a font or generated algorithmically by shrinking the regular capital letters.</li>
<li><strong>Dropcaps or Initials</strong>: special forms of the intial letter in a paragraph or chapter. They are often much larger than the regular text on the page and will &#8216;drop down&#8217; into the lower lines.</li>
<li><strong>Logical font</strong>: a font which doesn&#8217;t actually exist, but will be replaced with a real font at runtime. For example, in webpage you can use the font &#8217;sans-serif&#8217;. There is no real font named &#8217;sans-serif&#8217;, but the webbrowser will pick the user&#8217;s preferred sans serif font and substitute it at runtime.</li>
</ul>
<h3>Categories of Fonts</h3>
<p>In Roman languages (languages which use the 26 letters of the Roman alphabet plus various accent and punctuation marks) there are five major categories of fonts.
</p>
<h4>Serif</h4>
<p>Serif letters drawn with features at the ends of their strokes. The serifs are the little feet we see in fonts like Times. These are some of the oldest type designs. The feet along the baseline help guide the eye from left to right, making them very &#8216;readable&#8217; fonts.</p>
<p><img src="http://www.joshondesign.com/wp-content/uploads/2009/12/fontsFirefoxScreenSnapz021.png" alt="FirefoxScreenSnapz021.png" border="0" width="225" height="57" /><br/><i>Serif Font</i></p>
<h4>Sans Serif</h4>
<p>Sans Serif (french for &#8220;without serifs&#8221;) are letters drawn with straighter lines and no feet. Their larger letterforms make them very legible, but can cause greater eye strain when used in long runs of text.  Helvetica is considered the quintessential sans serif font.
</p>
<p><img src="http://www.joshondesign.com/wp-content/uploads/2009/12/fontsFirefoxScreenSnapz020.png" alt="FirefoxScreenSnapz020.png" border="0" width="225" height="57" /><br/><i>Sans-serif Font</i></p>
<h4>Script</h4>
<p>Script fonts imitate hand written letter forms. They are much harder to read than serif and sans serif fonts, and should never be used for body text.
</p>
<h4>Ornamental</h4>
<p>Ornamental fonts are highly decorative and tend to work only at larger type sizes. They are often called &#8216;display&#8217; fonts. They should never be used for body text (I&#8217;m looking at you, Comic Sans!).
</p>
<p><img src="http://www.joshondesign.com/wp-content/uploads/2009/12/fontskruffy.png" alt="kruffy.png" border="0" width="400" height="100" /><br/><br />
<i>Type set in Baby Kruffy</i></p>
<h4>Monospace</h4>
<p>Monospace fonts have letterforms that are exactly the same width, or are at least equally spaced. These come from the days of typewriters and old computers that could only move fixed distances. The are rarely used today except when the vertical alignment of columns matters. Examples include code editors and laying out tabulated data.
</p>
<h3>Text Placement</h3>
<p>Most of our type terminology in software comes from the world of newspapers. In practice we have three major kinds of text when building webpages and software: body, header, and navigation.
</p>
<ul>
<li><strong>Body</strong>: this is the bulk of your text organized into paragraphs. It is usually smaller than the other text and should use a simpler font that looks good at smaller sizes.
</li>
<li><strong>Header</strong>: this text in short runs (usually a single line or less) that must stand out.  Headers usually appear at the top of a page or paragraph indicating that the reader should move their eyes here to begin reading something. Headers also look good with serif and sans serif fonts, but you have more freedom because the text is typically larger.
</li>
<li><strong>Navigation</strong>: this text is very short and is usually at the top or sides of the page or screen. It indicates the structure of the entire work, such as newspaper sections or different pages in a site. It should also indicate to the user how to navigate <em>to</em> that section. In a newspaper you would use page &#038; section numbers. For software the text would be rendered as something clickable (a button, an underlined link, a hover effect etc.).
</li>
</ul>
<h3>Quick Tips</h3>
<h4>Use the right font for the size</h4>
<p>Not all fonts look good at all sizes. Some really shine at small sizes, others at large ones. Use the right font for your size. At smaller sizes you want fonts which are simpler and easier to read such as the basic serif and sans serif fonts. Try Arial, Helvetica, Times, Verdana, and Georgia. They are installed on virtually all computers and were designed to look good on screen at smaller sizes.
</p>
<h4>Use different font categories for different parts of text</h4>
<p>Use a sans serif font for the header and a serif font for the body, or vice versa. It creates a contrast without banging you over the head with it.</p>
<h4>Use truly crazy fonts only for top headers</h4>
<p>Use the cool and crazy fonts only for the top most headers. In the example below I used a font meant to evoke mid-century Tiki-culture, with a funky light effect to suggest it&#8217;s alcoholic origins. I only used this font in one place: the top most header of the page. Everything else is done with Helvetica; a standard sans-serif font.</p>
<p><img src="http://www.joshondesign.com/wp-content/uploads/2009/12/fontsFirefoxScreenSnapz022.png" alt="FirefoxScreenSnapz022.png" border="0" width="500" height="317" /><br/><i>Home page of Project MaiTai</i></p>
<p>Use restraint. Pick one crazy font to use for your whole site or application and use it <em>sparingly</em>.  If everything is different then nothing is. You can use a fancy font (somewhere between the plain boring fonts of body and crazy fonts of only top most headers) for headers within the page. And use one of the plain boring fonts for body text. Leave the crazy fonts just for the top most header.
</p>
<h4>Use color and style to create contrast</h4>
<p>Use color changes or capitalization style instead of fonts to contrast between the headers, body, and navigation. For example, in recent versions of iTunes the headers in the sidebar are all capitalized and in a slightly lighter color with a hint of etching.</p>
<p><img src="http://www.joshondesign.com/wp-content/uploads/2009/12/fontsiTunesScreenSnapz002.png" alt="iTunesScreenSnapz002.png" border="0" width="234" height="238" /><br/><br />
<i>iTunes 9</i></p>
<h4>Bundle a font in your app</h4>
<p>For the body text I still recommend sticking with one of the standards, but for your header font you can choose something a bit more distinctive.  Here are some great places to get cheap or free fonts.</p>
<ul>
<li><a href="http://www.theleagueofmoveabletype.com/" onclick="pageTracker._trackPageview('/outgoing/www.theleagueofmoveabletype.com/?referer=');">The League Of Moveable Type</a></li>
<li><a href="http://www.fontsquirrel.com/" onclick="pageTracker._trackPageview('/outgoing/www.fontsquirrel.com/?referer=');">Font Squirrel</a></li>
<li><a href="http://www.1001fonts.com/" onclick="pageTracker._trackPageview('/outgoing/www.1001fonts.com/?referer=');">1001 Fonts</a></li>
</ul>
<h4>Avoid <em>Cool</em> Fonts</h4>
<p>Don&#8217;t use cool / cute / themed fonts unless the subject matter really warrants it. Your website on technology trends really shouldn&#8217;t use a cutesy bubble font unless you are really targeting the tween market.</p>
<p><a href="http://www.theleagueofmoveabletype.com/fonts/2-sniglet" onclick="pageTracker._trackPageview('/outgoing/www.theleagueofmoveabletype.com/fonts/2-sniglet?referer=');"><img src="http://www.joshondesign.com/wp-content/uploads/2009/12/fontsFirefoxScreenSnapz015.png" alt="FirefoxScreenSnapz015.png" border="0" width="810" height="268" /><br/><br />
<i>Sniglet</i></a></p>
<h3>Just the beginning</h3>
<p>Typography is an incredibly large topic. What I&#8217;ve covered here is just the beginning. In the future I&#8217;ll cover text as part of the overall design and dive into the grid system. If you&#8217;d like to read more on typography, here are a few good resources:
</p>
<ul>
<li>The Wikipedia page on <a href="http://en.wikipedia.org/wiki/Font" onclick="pageTracker._trackPageview('/outgoing/en.wikipedia.org/wiki/Font?referer=');">Font</a></li>
<li>A List Apart on <a href="http://www.alistapart.com/articles/on-web-typography/" onclick="pageTracker._trackPageview('/outgoing/www.alistapart.com/articles/on-web-typography/?referer=');">Web Typography</a>.</li>
<p>The <a href="http://webdesignledger.com/tips/20-dos-and-donts-of-effective-web-typography" onclick="pageTracker._trackPageview('/outgoing/webdesignledger.com/tips/20-dos-and-donts-of-effective-web-typography?referer=');">20 Do&#8217;s and Don&#8217;ts</a> of web typography.</p>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.joshondesign.com/2009/12/02/typography-101/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
