<?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>The Bright Lines &#187; direct2d</title>
	<atom:link href="http://www.thebrightlines.com/tag/direct2d/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thebrightlines.com</link>
	<description>HTML, CSS, Javascript and more</description>
	<lastBuildDate>Tue, 17 Jan 2012 22:00:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Web font rendering in IE9</title>
		<link>http://www.thebrightlines.com/2010/03/18/font-rendering-in-ie9/</link>
		<comments>http://www.thebrightlines.com/2010/03/18/font-rendering-in-ie9/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 22:31:54 +0000</pubDate>
		<dc:creator>Wouter Bos</dc:creator>
				<category><![CDATA[Webfonts]]></category>
		<category><![CDATA[direct2d]]></category>
		<category><![CDATA[directwrite]]></category>
		<category><![CDATA[ie9]]></category>

		<guid isPermaLink="false">http://www.thebrightlines.com/?p=515</guid>
		<description><![CDATA[Some weeks ago I did a test to see how fonts look in a browser when they are not optimized for that. The result was that rendering and legibility was sometimes poor on Windows. Now that the IE9 Platform Preview is out, it's time to do the test once more.]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignleft" style="width: 121px"><img title="IE9 on Vista on the left and IE8 on Windows 7 on the right" src="/article-data/images/fontrendering-IE9-1.png" alt="IE9 on Vista on the left and IE8 on Windows 7 on the right" width="111" height="81" /><p class="wp-caption-text">IE9 on Vista on the left and IE8 on Windows 7 on the right. The font is Bodoni</p></div>
<p>For those who read my article on <a href="http://www.thebrightlines.com/2010/01/24/test-popular-professional-fonts-as-webfont/">font rendering of professional fonts</a> were surely disappointed to read that their fonts would most likely not render well in browsers on Windows if you use the CSS technique @font-face.</p>
<p>At the moment your best chance of getting a font rendering well in a browser is by buying or renting one from a font foundry like FontFont or Ascender, who optimize their fonts for the web. Fonts that aren&#8217;t optimized most likely will not render that well.</p>
<p>Well, there is some good news. IE9 uses Direct2D and DirectWrite and it seems that it does a much better job at font  rendering as you can already see in the example on the left. So although we will still be very much dependent on those optimized fonts until the predecessors of IE9 have finally faded away, there is light on the horizon.</p>
<p>Its very exiting to see that the font rendering improved so much. Just look at the zoomed in part of the letter &#8216;g&#8217;:</p>
<div class="wp-caption alignnone" style="width: 420px"><img title="The letter g at 500%. Again: IE9 on the left and IE8 on the right, in case you were still wondering ;)" src="/article-data/images/fontrendering-IE9-2.png" alt="The letter g at 500%. Again: IE9 on the left and IE8 on the right, in case you were still wondering ;)" width="410" height="175" /><p class="wp-caption-text">The letter &#39;g&#39; of the font Bodoni at 500%. Again: IE9 on the left and IE8 on the right, in case you were still wondering <img src='http://www.thebrightlines.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p></div>
<h2>Some notes on rendering</h2>
<p>Not very surprising, but sometimes the rendering of a piece of text in IE9 can result in something that&#8217;s significant wider than in IE8:</p>
<div class="wp-caption alignnone" style="width: 458px"><img title="Two screenshots of identical texts in IE8 and IE9, placed on top of each other" src="/article-data/images/fontrendering-IE9-3.png" alt="Two screenshots of identical texts in IE8 and IE9, placed on top of each other" width="448" height="27" /><p class="wp-caption-text">Two screenshots of identical texts in IE8 and IE9, placed on top of each other</p></div>
<p>You can still find some rendering glitches like you can see here:</p>
<div class="wp-caption alignnone" style="width: 458px"><img title="Still some bad rendering in IE9 with Helvetica at font-size 14, 15 and 16" src="/article-data/images/fontrendering-IE9-4.png" alt="Still some bad rendering in IE9 with Helvetica at font-size 14, 15 and 16" width="448" height="77" /><p class="wp-caption-text">Still some bad rendering in IE9 with Helvetica at font-size 14, 15 and 16</p></div>
<div class="wp-caption alignnone" style="width: 458px"><img title="Dax too still renders bad at some font sizes. The first line is IE9. The second line shows the font in Safari, rendering it as it should be." src="/article-data/images/fontrendering-IE9-5.png" alt="Dax too still renders bad at some font sizes. The first line is IE9. The second line shows the font in Safari, rendering it as it should be." width="448" height="62" /><p class="wp-caption-text">Dax too still renders bad at some font sizes. The first line is IE9. The second line shows the font in Safari, rendering it as it should be.</p></div>
<p><strong>Just to make it absolutely clear: the fonts in these examples are converted <em>without</em> any hinting improvement.</strong></p>


<p>Related posts:<ol><li><a href='http://www.thebrightlines.com/2010/01/24/test-popular-professional-fonts-as-webfont/' rel='bookmark' title='Permanent Link: Test: Popular professional fonts as webfont'>Test: Popular professional fonts as webfont</a></li>
<li><a href='http://www.thebrightlines.com/2010/03/09/new-web-font-service-ascender-corporation/' rel='bookmark' title='Permanent Link: New web font service: Ascenderfonts.com'>New web font service: Ascenderfonts.com</a></li>
<li><a href='http://www.thebrightlines.com/2009/12/10/251/' rel='bookmark' title='Permanent Link: My favorite for converting fonts to EOT'>My favorite for converting fonts to EOT</a></li>
<li><a href='http://www.thebrightlines.com/2010/01/12/implementing-font-face-cross-domain/' rel='bookmark' title='Permanent Link: Implementing font-face cross domain'>Implementing font-face cross domain</a></li>
<li><a href='http://www.thebrightlines.com/2009/11/01/the-trouble-with-font-face/' rel='bookmark' title='Permanent Link: The trouble with @font-face'>The trouble with @font-face</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thebrightlines.com/2010/03/18/font-rendering-in-ie9/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

