<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="http://feeds.fortes.com/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.fortes.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Fortes</title>
	
	<link>http://fortes.com</link>
	<description>The nerdy home of Filipe Fortes</description>
	<pubDate>Thu, 18 Sep 2008 05:06:01 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.fortes.com/fortes" type="application/rss+xml" /><item>
		<title>jMetronome: Using jQuery to keep typographic rhythm</title>
		<link>http://feeds.fortes.com/~r/fortes/~3/356989329/</link>
		<comments>http://fortes.com/2008/08/jmetronome-using-jquery-to-keep-typographic-rhythm/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 03:09:49 +0000</pubDate>
		<dc:creator>fortes</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[jmetronome]]></category>

		<category><![CDATA[jquery]]></category>

		<category><![CDATA[typography]]></category>

		<guid isPermaLink="false">http://fortes.com/?p=109</guid>
		<description>A couple of years ago, Richard Rutter wrote Compose to a Vertical Rhythm, which described how web developers could use CSS to maintain proper vertical typographic rhythm when designing pages. The technique is fairly straightforward, requiring some basic math to ensure consistent margins and leading across all page elements.
One issue that many people face with [...]</description>
			<content:encoded><![CDATA[<p class="img flickr"><a href="http://flickr.com/photos/fortes/2668895986/"><img src="http://farm4.static.flickr.com/3086/2668895986_425b3df608.jpg?v=0" alt="Michael Arenella &amp; his Dreamland Orchestra" /></a></p>
<p>A couple of years ago, Richard Rutter wrote <a href="http://24ways.org/2006/compose-to-a-vertical-rhythm">Compose to a Vertical Rhythm</a>, which described how web developers could use CSS to maintain proper vertical typographic rhythm when designing pages. The technique is fairly straightforward, requiring some basic math to ensure consistent margins and leading across all page elements.</p>
<p>One issue that many people face with this technique, is that vertical rhythm can easily be thrown off by non-text elements, such as images. To illustrate, here&#8217;s a <a href="http://static.fortes.com/projects/jquery/rhythm-example-pre.html">sample page</a> which contains text, images, a code block showing a horizontal scrollbar, and even a video. Notice how the text no longer lines up perfectly within the vertical grid lines after the first image. This is because the image is 240 pixels tall, which is not a multiple of 18, the line height used throughout the document.</p>
<p>One solution to this issue is to make sure your images always have a height that is a multiple of the line height being used by your document. Unfortunately, this is usually not practical for production sites.</p>
<p>Here&#8217;s some jQuery code that you can use in order to make sure your document keeps its rhythm:</p>
<pre class="code javascript">$(function() {
  var lineHeight = parseInt($('body').css('line-height'));
  function balanceHeight(el) {
      var h = $(el).outerHeight();
      var delta = h % lineHeight;
      if (delta != 0)
      {
        /* For images and objects, we want to align the bottom w/ the baseline, so we
         * pad the top of the element. For other elements (text elements that have a
         * scrollbar), we pad the bottom, to keep the text within on the same baseline */
        var paddingDirection = ($(el).is('img') || $(el).is('object')) ?
                                              'padding-top' : 'padding-bottom';

        /* Adjust padding, because margin can get collapsed and cause uneven spacing */
          var currentPadding = parseInt($(el).css(paddingDirection));
          $(el).css(paddingDirection, currentPadding + lineHeight - delta);
      }
  }

  /* Depending on your content, you may want to modify which elements you want to adjust,
   * by modifying the selector used below. By default, we grab all img, pre, and object
   * elements. */
  $('img, pre, object').each(function() {
      /* Only works if we're manipulating block objects */
      if ($(this).css('display') == 'inline')
      {
          $(this).css('display', 'block');
      }

      /* Images need to load before you get their height */
      if ($(this).is('img'))
      {
          $(this).load(function(){ balanceHeight(this); });
      }
      else
      {
          balanceHeight(this);
      }
  });
});</pre>
<p>The code is fairly straightforward. Briefly, what it does is add padding to the top or bottom of an element in order to ensure its total height is a multiple of the document&#8217;s overall line height. Here&#8217;s the same <a href="http://static.fortes.com/projects/jquery/rhythm-example-post.html">sample page</a> as before, but this time using the script above.</p>
<h3>Usage</h3>
<p>You can use this script as-is, but you may want to change the selector used in the following line:</p>
<pre class="code javascript">$('img, pre, object').each(function() {</pre>
<p>The reason is that this selector is probably too broad for your page. You most likely do not want to adjust every single image on your page, just the ones within your main content block. On my page, I adjust any <code class="html">pre</code> elements, because I&#8217;ve set them to overflow with scrollbars, which can alter the height of the code block and mess up vertical spacing just like an image.</p>
<h3>Known Issues</h3>
<p>I&#8217;ve only found two issues with the code, and they both affect Internet Explorer:</p>
<ol>
<li><code>object</code> tags don&#8217;t get adjusted (see the Vimeo video at the bottom of the <a href="http://static.fortes.com/projects/jquery/rhythm-example-pre.html">sample page</a>). This might be a jQuery issue, but I haven&#8217;t investigated it yet.</li>
<li>If you use <a href="http://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/">unitless line heights</a>, jQuery doesn&#8217;t retrieve the correct line height in IE. You can either modify the code and hard code a line height, or just don&#8217;t use unitless line height on the <code>body</code> element</li>
</ol>
<p>Let me know if you run into any other issues.</p>

<p><a href="http://feeds.fortes.com/~a/fortes?a=8d7owW"><img src="http://feeds.fortes.com/~a/fortes?i=8d7owW" border="0"></img></a></p><div class="feedflare">
<a href="http://feeds.fortes.com/~f/fortes?a=jogTPk"><img src="http://feeds.fortes.com/~f/fortes?i=jogTPk" border="0"></img></a> <a href="http://feeds.fortes.com/~f/fortes?a=Tdjxkk"><img src="http://feeds.fortes.com/~f/fortes?i=Tdjxkk" border="0"></img></a> <a href="http://feeds.fortes.com/~f/fortes?a=oT4cUk"><img src="http://feeds.fortes.com/~f/fortes?i=oT4cUk" border="0"></img></a>
</div><img src="http://feeds.fortes.com/~r/fortes/~4/356989329" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://fortes.com/2008/08/jmetronome-using-jquery-to-keep-typographic-rhythm/feed/</wfw:commentRss>
		<feedburner:origLink>http://fortes.com/2008/08/jmetronome-using-jquery-to-keep-typographic-rhythm/</feedburner:origLink></item>
		<item>
		<title>Introducing the Dynamic Layout Library</title>
		<link>http://feeds.fortes.com/~r/fortes/~3/335316129/</link>
		<comments>http://fortes.com/2008/07/introducing-the-dynamic-layout-library/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 18:28:36 +0000</pubDate>
		<dc:creator>fortes</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[css]]></category>

		<category><![CDATA[dynamiclayout]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[layout]]></category>

		<category><![CDATA[library]]></category>

		<guid isPermaLink="false">http://fortes.com/?p=108</guid>
		<description>I&amp;#8217;m happy to introduce version 1.0 of my  JavaScript library.
Dynamic Layout is a simple library that allows you to easily adjust page layout based on the current browser width.
The script works by modifying the class property on the body element, adding a new class name that will look something like bw-1000, where 1000 is [...]</description>
			<content:encoded><![CDATA[<p class="img flickr"><a href="http://www.flickr.com/photos/fortes/2659684659/"><img src="http://farm4.static.flickr.com/3272/2659684659_2b132bbc18.jpg?v=0" alt="View of Midtown Manhattan" /></a></p>
<p>I&#8217;m happy to introduce version 1.0 of my <a href="http://fortes.com/projects/dynamiclayout/" class="site-link">Dynamic Layout</a> JavaScript library.</p>
<p>Dynamic Layout is a simple library that allows you to easily adjust page layout based on the current browser width.</p>
<p>The script works by modifying the <tt>class</tt> property on the <tt>body</tt> element, adding a new class name that will look something like <tt>bw-1000</tt>, where <tt>1000</tt> is one of the numbers in a predefined list of possible browser widths.</p>
<p>Unless you&#8217;re reading this in your RSS reader, you can see a live demo by resizing your browser window. I&#8217;ve also created a <a href="http://static.fortes.com/projects/dynamiclayout/demos/dynamicholygrail.html">simple multi-column demo</a>, which will display one, two, or three columns depending on your browser width.</p>
<p>To download, and for details, see the <a href="http://fortes.com/projects/dynamiclayout/" class="site-link">Dynamic Layout</a> project page.</p>

<p><a href="http://feeds.fortes.com/~a/fortes?a=4vtweK"><img src="http://feeds.fortes.com/~a/fortes?i=4vtweK" border="0"></img></a></p><div class="feedflare">
<a href="http://feeds.fortes.com/~f/fortes?a=bau13j"><img src="http://feeds.fortes.com/~f/fortes?i=bau13j" border="0"></img></a> <a href="http://feeds.fortes.com/~f/fortes?a=vxlJrj"><img src="http://feeds.fortes.com/~f/fortes?i=vxlJrj" border="0"></img></a> <a href="http://feeds.fortes.com/~f/fortes?a=PGarnj"><img src="http://feeds.fortes.com/~f/fortes?i=PGarnj" border="0"></img></a>
</div><img src="http://feeds.fortes.com/~r/fortes/~4/335316129" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://fortes.com/2008/07/introducing-the-dynamic-layout-library/feed/</wfw:commentRss>
		<feedburner:origLink>http://fortes.com/2008/07/introducing-the-dynamic-layout-library/</feedburner:origLink></item>
		<item>
		<title>Introducing Sistr</title>
		<link>http://feeds.fortes.com/~r/fortes/~3/331738307/</link>
		<comments>http://fortes.com/2007/09/introducing-sistr/#comments</comments>
		<pubDate>Mon, 17 Sep 2007 16:00:58 +0000</pubDate>
		<dc:creator>fortes</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[sifr]]></category>

		<category><![CDATA[silverlight]]></category>

		<category><![CDATA[sistr]]></category>

		<guid isPermaLink="false">http://fortes.com/?p=103</guid>
		<description>Over the weekend I spent some time seeing if I could replicate the functionality found in the excellent sIFR, using Silverlight instead of Flash. The result is . For the impatient — here’s a demo test page.
Usage

Download sistr.js and save it to your web server (or reference it directly from this site).
Create a zip file [...]</description>
			<content:encoded><![CDATA[<p class="img photo flickr"><a href="http://flickr.com/photos/fortes/1337717840/"><img src="http://farm2.static.flickr.com/1255/1337717840_78497e0379.jpg" alt="Plane Engine over the midwest" /></a></p>
<p>Over the weekend I spent some time seeing if I could replicate the functionality found in the excellent <a href="http://www.mikeindustries.com/sifr">sIFR</a>, using <a href="http://silverlight.net/">Silverlight</a> instead of Flash. The result is <a href="http://fortes.com/projects/silverlight/sistr" class="site-link">Sistr</a>. For the impatient — here’s a <a href="http://static.fortes.com/projects/silverlight/sistr/side-by-side.html">demo test page</a>.</p>
<div class="note"><strong class="label">Note</strong>
This <em>definitely</em> isn’t ready for a production site, this is an early version for feedback purposes only. There are still plenty of bugs, trust me.</div>
<h3>Usage</h3>
<ol>
<li>Download <a href="http://static.fortes.com/projects/silverlight/sistr/sistr.js"><tt>sistr.js</tt></a> and save it to your web server (or reference it directly from <a href="http://static.fortes.com/projects/silverlight/sistr/sistr.js">this site</a>).</li>
<li>Create a zip file with the font(s) you wish to use. Upload this to your webserver as well (Silverlight will only use fonts that are retrieved via HTTP).</li>
<li>Add the following into your HTML page:
<pre class="code html">&lt;script type="text/javascript" src="sistr.js"&gt;&lt;/script&gt;</pre>
</li>
<li>In your CSS file, define a new class called <code>sistr-replace</code> (anything that starts with “sistr-” works). Here’s an example:
<pre class="code html">.sistr-replace { }</pre>
</li>
<li>Use the <code>font-family</code> property to set the font name and URL to the font files, enclose them in quotes and separate with the “|” character (e.g. <code>font-family: "Fil's Font|filfont.zip"</code>). Make sure you also specify backup fonts for users who don’t have Silverlight installed, like so:
<pre class="code html">.sistr-replace { font-family: "FontName|fonts.zip", Verdana, Arial, Sans-Serif; }</pre>
</li>
<li>Set the <code>class</code> property on some of your HTML elements to <code>sistr-replace</code> (or whatever else you used) and re-load. For example:
<pre class="code html">&lt;h3 class="entry-title sistr-replace"&gt;Hello World!&lt;/h3&gt;</pre>
</li>
<li>Your text should now be rendered using Silverlight.</li>
</ol>
<p>Take a look at the <a href="http://static.fortes.com/projects/silverlight/sistr/side-by-side.html">demo test page</a> as well.</p>
<h3>Pros &amp; Cons vs. sIFR</h3>
<p>Pro:</p>
<ul>
<li><strong>Simpler setup</strong>: All you need to do is include the <tt>sistr.js</tt> file in your page and edit your CSS — you do not need to edit any Silverlight or JavaScript code. sIFR is pretty easy too, but you need the Flash editing program in order to create a SWF file.</li>
<li><strong>Support for Transparent Backgrounds</strong>: sIFR provides partial support, but it’s not recommended within Firefox (I believe this is an issue with Flash).</li>
</ul>
<p>Con:</p>
<ul>
<li><strong>Lack of Silverlight Install Base</strong>: Silverlight is nowhere near as common as Flash.</li>
<li><strong>No protection for Font Files</strong>: In order to use a custom font with Silverlight, you have to have the font file available for download on a web server — you cannot embed it or protect it in any way. This means you must use fonts that you either created or are liberally licensed (public domain, etc).</li>
<li><strong>Immature</strong>: Both Flash and sIFR are much, much more mature than Silverlight and Sistr. There are many bugs that I have not sorted out yet.</li>
<li><strong>Many limitations</strong>: See below</li>
</ul>
<h3>Known Issues</h3>
<ul>
<li><strong>No support for line height</strong>: Limitation in Silverlight</li>
<li><strong>Must use absolute units for <code>font-size</code> in IE</strong>: Due to IE’s lack of a <code>getComputedStyle</code> equivalent.</li>
<li><strong>Occasional sizing issues</strong>: I think this may be a Silverlight bug, but occasionally text will get cut off in the vertical direction. Not sure how to fix it yet</li>
<li><strong>Font size doesn’t respond to user changes</strong>: Works fine if you reload though</li>
<li><strong>No support for <code>:hover</code> state</strong></li>
<li><strong>No support for nested hyperlinks</strong></li>
<li><strong>Text selection does not work</strong>: Not sure how screen readers react either</li>
<li><strong>Cannot support nested bold in Firefox</strong>: Works in IE though</li>
</ul>
<p>Let me know if you find others — or want to help fix bugs!</p>

<p><a href="http://feeds.fortes.com/~a/fortes?a=wOJ0yX"><img src="http://feeds.fortes.com/~a/fortes?i=wOJ0yX" border="0"></img></a></p><div class="feedflare">
<a href="http://feeds.fortes.com/~f/fortes?a=Jye9Hj"><img src="http://feeds.fortes.com/~f/fortes?i=Jye9Hj" border="0"></img></a> <a href="http://feeds.fortes.com/~f/fortes?a=byURBj"><img src="http://feeds.fortes.com/~f/fortes?i=byURBj" border="0"></img></a> <a href="http://feeds.fortes.com/~f/fortes?a=sbmbaj"><img src="http://feeds.fortes.com/~f/fortes?i=sbmbaj" border="0"></img></a>
</div><img src="http://feeds.fortes.com/~r/fortes/~4/331738307" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://fortes.com/2007/09/introducing-sistr/feed/</wfw:commentRss>
		<feedburner:origLink>http://fortes.com/2007/09/introducing-sistr/</feedburner:origLink></item>
		<item>
		<title>Adobe OnAir Seattle</title>
		<link>http://feeds.fortes.com/~r/fortes/~3/331738314/</link>
		<comments>http://fortes.com/2007/07/adobe-onair-seattle/#comments</comments>
		<pubDate>Wed, 11 Jul 2007 16:00:00 +0000</pubDate>
		<dc:creator>fortes</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[adobeair]]></category>

		<category><![CDATA[flash]]></category>

		<category><![CDATA[silverlight]]></category>

		<category><![CDATA[wpf]]></category>

		<guid isPermaLink="false">http://fortes.com/?p=101</guid>
		<description>I went to Adobe’s OnAir Seattle yesterday, which was a really interesting event that I’d recommend attending if you have the time. Unfortunately, I had to leave before the end of the day, but here’s a summary of the notes I took while I was there.
The Big Picture
Adobe’s goal is to let web developers can [...]</description>
			<content:encoded><![CDATA[<p class="img photo"><a href="http://static.fortes.com/2007/07/adobe-air-roadmap.jpg"><img src="http://static.fortes.com/2007/07/adobe-air-roadmap-thumb.jpg" alt="Adobe AIR product roadmap" /></a></p>
<p>I went to <a href="http://onair.adobe.com/schedule/cities/seattle.php">Adobe’s OnAir Seattle</a> yesterday, which was a really interesting event that I’d recommend attending if you have the time. Unfortunately, I had to leave before the end of the day, but here’s a summary of the notes I took while I was there.</p>
<h3>The Big Picture</h3>
<p>Adobe’s goal is to let web developers can use their existing skills (<abbr title="HyperText Markup Language">HTML</abbr>, <abbr title="Cascading StyleSheets">CSS</abbr>, JavaScript, Flash, and Flex) to create desktop applications. <a href="http://labs.adobe.com/technologies/air/"><abbr title="Adobe Integrated Runtime">AIR</abbr></a> (formerly Apollo) provides cross-platform installation and application updates, a local database, and a variety of new APIs for managing local resources (local file access, controlling window chrome, drag and drop, etc). The Adobe guys were clear that this isn’t about porting existing web sites onto the desktop — assets and web services will obviously be re-used, but the emphasis was on not needing to learn new technologies (just a few new APIs).</p>
<h3>Interesting Tidbits / Nerdy Technical Details</h3>
<ul>
<li><strong>Installation: </strong>Applications are installed via a single <tt>.air</tt> file. Installed applications can be removed just like normal applications (i.e. via Add/Remove Programs on Windows, or by throwing the application in the trash on the Mac). An <a href="http://www.andrewwooldridge.com/blog/2007/06/air-express-install-example.html">express install</a> (which can bootstrap the AIR runtime) and detection is also possible via Flash.</li>
<li><strong>Application Updates: </strong>AIR will provide support for automatic application update checking and upgrading.</li>
<li><strong>HTML Rendering: </strong>Adobe chose the WebKit HTML engine (used by Safari and Konqueror) specifically because of it’s size and speed. Someone asked if they were considering moving to Firefox at some point, and they were clear that Firefox just couldn’t meet their size requirements for mobile.This cements WebKit’s position as the number three browser family (sorry Opera).</li>
<li><strong>PDF Support: </strong>Requires Adobe Reader 8.1 — unlike HTML and Flash support, the Adobe Reader must be installed separately (I’m not sure what happens if it’s not installed).</li>
<li><strong>HTML / Flash Integration:</strong> It looks like Adobe’s done a good job integrating the two — you can make script calls between the two, and there don’t appear to be any visual differences between the technologies. I’m not sure about PDF though, I’ll need to look into that.</li>
<li><strong>Script Engine: </strong>They’re using the <a href="http://www.mozilla.org/projects/tamarin/">Tamarin JavaScript engine</a>, which is far faster than what’s in browsers today. They showed a demo of <a href="http://preview.getbuzzword.com/">BuzzWord</a>, a word-processing program built on Flash, which implements their own line layout and pagination APIs that run pretty fast thanks to the JS engine. The Mozilla team plans to use Tamarin in Firefox version 4.0.</li>
<li><strong>SQLite: </strong>This must be fairly new, because none of the talks or demos I saw were using the local database. Adobe did mention that they’re working with Google to make sure they’re API-compatible with <a href="http://gears.google.com/">Google Gears</a>, which also uses SQLite.</li>
<li><strong>Native Windows:</strong> Can create native windows, or go chrome-less windows with transparency that give full-freedom (at the potential cost of consistency with other applications on that OS).</li>
<li><strong>Plugin Support: </strong>Currently only Flash and PDF can be embedded within HTML. Adobe says they’re open to feedback as far as other plugins (QuickTime was requested by a member of the audience).</li>
<li><strong>SDK and Tools</strong>: Adobe already has mature tools with the Flash authoring environment, Flex builder, and Dreamweaver. They making sure to adding support for creating AIR packages (which are ZIP files) in their existing products, lowering the learning curve for developers. Command-line tools for packaging AIR files are provided as well.</li>
<li><strong>Adoption Rates:</strong> Adobe made sure to mention how quickly new versions of Flash get adopted by users — they get 85% penetration within 9 months, which is quite impressive. Obviously, it’s unclear if AIR could get this</li>
<li><strong>Linux Support: </strong>Planned in late 2008. Adobe says they’ve been waiting for the latest version of Flash for Linux before they port AIR.</li>
<li><strong>Random Notes: </strong>Built-in support for associating file types at install time, don’t need admin rights to install AIR or AIR applications, events for regaining network connection, file dialogs, drag and drop support, use PNGs instead of dealing with .ico files, and Creative Commons licensing for the books.</li>
</ul>
<h3>MS vs. Adobe: My Take</h3>
<p>This is the right strategic move for Adobe. They’ve managed to attack the biggest weaknesses of their chief competition, <a href="http://wpf.netfx3.com/">Microsoft’s <abbr title="Windows Presentation Foundation">WPF</abbr></a>, by being cross-platform and leveraging existing technologies already used by web developers. Using existing technologies also means there are many mature tools for both designers and developers coding in HTML/Flash, which is not the case with WPF. Adobe made a good choice not trying to boil the ocean with a lot of new technology.</p>
<p>Granted, WPF’s target market is a bit different than AIR’s (there are a large number of WinForms developers already using .NET technologies), but for web developers the learning curve and lack of cross-platform support made WPF a non-starter (notice how much <a href="http://www.techcrunch.com/tag/silverlight/">more interest</a> Silverlight has recieved in the community). Obviously, there are still many areas where WPF is superior (3D and document layout, to name two), but I think AIR’s advantages more than make up for these drawbacks (from a web developer’s point of view).</p>
<p>Although still in it’s infancy, Silverlight will likely become the real competitor to AIR. Although it’s feature-poor in comparison to Flash, Microsoft’s clearly devoting a lot of resources to catching up quickly (notice the <a href="http://silverlight.net/GetStarted/">simultaneous release of 1.0 beta and 1.1 alpha</a> — which surely required <em>a lot</em> of testing resources). Silverlight plays nicely with HTML and JavaScript, provides good language support (including trendy languages like Ruby and Python), and has a very fast script runtime as well. It already <a href="http://msdn2.microsoft.com/en-us/library/bb412397.aspx">lets you go into full-screen</a>, I don’t think adding more windowing APIs wouldn’t be a stretch. I fully expect Microsoft to move in this direction.</p>
<div class="note"><strong class="label">Obvious Disclaimer</strong>
I do not work for Microsoft (although I used to). I don’t have any inside information. Don’t take blog posts too seriously, especially ones typed hurriedly on <a href="http://seattletimes.nwsource.com/html/localnews/2003783900_weather11m.html">a hot day</a>.</div>

<p><a href="http://feeds.fortes.com/~a/fortes?a=ehw1ea"><img src="http://feeds.fortes.com/~a/fortes?i=ehw1ea" border="0"></img></a></p><div class="feedflare">
<a href="http://feeds.fortes.com/~f/fortes?a=X7NFTj"><img src="http://feeds.fortes.com/~f/fortes?i=X7NFTj" border="0"></img></a> <a href="http://feeds.fortes.com/~f/fortes?a=qIIGVj"><img src="http://feeds.fortes.com/~f/fortes?i=qIIGVj" border="0"></img></a> <a href="http://feeds.fortes.com/~f/fortes?a=fr04Hj"><img src="http://feeds.fortes.com/~f/fortes?i=fr04Hj" border="0"></img></a>
</div><img src="http://feeds.fortes.com/~r/fortes/~4/331738314" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://fortes.com/2007/07/adobe-onair-seattle/feed/</wfw:commentRss>
		<feedburner:origLink>http://fortes.com/2007/07/adobe-onair-seattle/</feedburner:origLink></item>
		<item>
		<title>Top Level Categories Plugin 1.0</title>
		<link>http://feeds.fortes.com/~r/fortes/~3/331738315/</link>
		<comments>http://fortes.com/2007/06/top-level-categories-plugin-10/#comments</comments>
		<pubDate>Wed, 20 Jun 2007 16:00:04 +0000</pubDate>
		<dc:creator>fortes</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[toplevelcategories]]></category>

		<guid isPermaLink="false">http://fortes.com/?p=100</guid>
		<description>There’s a new version of the . The changes aren’t huge, but they do fix all known issues, including:

Will now work correctly with the /%category%/%postname% and %postname% permalink structures (this was the top request).
No longer need to manually update the permalink structure on install or uninstall.
Fixed incompatibility with some installations of the K2 theme.

If the [...]</description>
			<content:encoded><![CDATA[<p>There’s a new version of the <a href="http://fortes.com/projects/wordpress/top-level-cats/" class="site-link">Top Level Categories plugin</a>. The changes aren’t huge, but they do fix all known issues, including:</p>
<ul>
<li>Will now work correctly with the <code>/%category%/%postname%</code> and <code>%postname%</code> permalink structures (this was the top request).</li>
<li>No longer need to manually update the permalink structure on install or uninstall.</li>
<li>Fixed incompatibility with some installations of the <a href="http://getk2.com/">K2 theme</a>.</li>
</ul>
<p>If the <a href="http://fortes.com/2007/02/top-level-categories-plugin-01/" class="site-link">previous version</a> works well for you, then there is no need to upgrade.</p>
<h3>Download</h3>
<p><a href="http://downloads.wordpress.org/plugin/top-level-cats.zip">Top Level Categories v1.0</a> (ZIP file).</p>
<p>Let me know if you encounter any new bugs or issues.</p>

<p><a href="http://feeds.fortes.com/~a/fortes?a=luzYyo"><img src="http://feeds.fortes.com/~a/fortes?i=luzYyo" border="0"></img></a></p><div class="feedflare">
<a href="http://feeds.fortes.com/~f/fortes?a=66WNaj"><img src="http://feeds.fortes.com/~f/fortes?i=66WNaj" border="0"></img></a> <a href="http://feeds.fortes.com/~f/fortes?a=Cf1epj"><img src="http://feeds.fortes.com/~f/fortes?i=Cf1epj" border="0"></img></a> <a href="http://feeds.fortes.com/~f/fortes?a=ZGtIuj"><img src="http://feeds.fortes.com/~f/fortes?i=ZGtIuj" border="0"></img></a>
</div><img src="http://feeds.fortes.com/~r/fortes/~4/331738315" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://fortes.com/2007/06/top-level-categories-plugin-10/feed/</wfw:commentRss>
		<feedburner:origLink>http://fortes.com/2007/06/top-level-categories-plugin-10/</feedburner:origLink></item>
		<item>
		<title>Font Rendering Across Rich Platforms</title>
		<link>http://feeds.fortes.com/~r/fortes/~3/331738316/</link>
		<comments>http://fortes.com/2007/05/font-rendering-in-across-rich-platforms/#comments</comments>
		<pubDate>Fri, 25 May 2007 16:00:13 +0000</pubDate>
		<dc:creator>fortes</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[flash]]></category>

		<category><![CDATA[flex]]></category>

		<category><![CDATA[fontrendering]]></category>

		<category><![CDATA[silverlight]]></category>

		<category><![CDATA[typography]]></category>

		<category><![CDATA[wpf]]></category>

		<guid isPermaLink="false">http://fortes.com/?p=99</guid>
		<description>Although I used to work for Microsoft on the WPF team, I’m not tied to the platform. WPF and its alternatives (Flash, HTML, Apollo, Silverlight) each have advantages and disadvantages and choosing between them depends on your requirements. Since I’m doing a lot of work around reading experiences, I thought it was a good time [...]</description>
			<content:encoded><![CDATA[<p>Although I used to work for Microsoft on the <abbr title="Windows Presentation Foundation">WPF</abbr> team, I’m not tied to the platform. WPF and its alternatives (Flash, HTML, Apollo, Silverlight) each have advantages and disadvantages and choosing between them depends on your requirements. Since I’m doing a lot of work around reading experiences, I thought it was a good time to go back and re-evaluate the existing choices.</p>
<p>In this post, we’ll look at how each platform renders fonts at 9, 10, 12, and 14 points — sizes commonly used for reading. I’ve used three fonts:</p>
<ul>
<li>Verdana: The old standby, installed on many systems.</li>
<li>ITC Cheltenham: A serif frequently used in newspapers.</li>
<li>Gotham Rounded: A sans-serif that I happen to like.</li>
</ul>
<p>For no good reason, I’ve placed the results in alphabetical order. First up is Flash.</p>
<h3>Flash</h3>
<p>Up until a few years ago, Flash used to render fonts poorly at small sizes. Most authors worked around this limitation by changing the type of anti-aliasing used when displaying fonts. Flash provides two anti-aliasing options, one for readability and the other for animation. Additionally, Flash also allows the author to disable anti-aliasing altogether, and use aliased bitmap fonts. Flash 8 introduced <a href="http://www.rogerblack.com/blog/screen_fonts_from_adobes_view">a new rendering engine</a> that vastly improved the quality of small-type text.</p>
<p>At small sizes, the readability setting is (unsurprisingly) far superior to the animation setting. Here’s a sample of the readability anti-aliasing for Verdana at 10 point:</p>
<p class="img screenshot"><img src="http://static.fortes.com/2007/05/flash-verdana-10-read.png" alt="10pt Verdana in Flash readability setting" /></p>
<p>For the same font and size, the animation setting is quite ugly:</p>
<p class="img screenshot"><img src="http://static.fortes.com/2007/05/flash-verdana-10-anim.png" alt="10pt Verdana in Flash animation setting" /></p>
<p>Although it creates clearly more readable results, the readability smoothing creates a strange coloring affect that can be pretty noticeable at small sizes. Here’s Gotham Rounded at 9pt:</p>
<p class="img screenshot"><img src="http://static.fortes.com/2007/05/flash-gotham-9-readability.png" alt="9pt Gotham Rounded in Flash readability setting" /></p>
<p>On my monitor, the effect is subtle, but noticeable — I see a bit of color around the edges of the letters.</p>
<h3>Flex / Apollo</h3>
<p>Apollo (through Flex) has <a href="http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&amp;file=00000791.html">two different font rendering engines</a> — one of which seems to be shared with Flash (the documentation is a little vague here, so feel free to correct me if I’m wrong). The other rendering engine has access to installed fonts, and is <a href="http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&amp;file=fonts_070_04.html">recommended for small type sizes</a> — however the quality is quite bad. From my simple tests, it seems that the fonts are always aliased, producing the jaggy look seen below:</p>
<p class="img screenshot"><img src="http://static.fortes.com/2007/05/flex-verdana-10.png" alt="10pt Verdana in Flex" /></p>
<p>This aliased look is acceptable for some fonts, such as Verdana, that have reasonable bitmap representations at small sizes. However, for many fonts the result is unacceptable, such as this sample of Cheltenham at 10 point (from Flash set to bitmap, not Flex):</p>
<p class="img screenshot"><img src="http://static.fortes.com/2007/05/flash-cheltenham-10-bitmap.png" alt="10pt Cheltenham, Bitmap mode in Flash" /></p>
<p>Except for extreme cases, it looks like it’s best to use the Flash font rendering system when writing an Apollo (or Flex) application. <em>(Once again, I’m under-educated in the Apollo and Flex realms, feel free to drop some knowledge in the comments)</em></p>
<h3>HTML</h3>
<p>On my machine, the Firefox and Internet Explorer 6 both rendered extremely similar results. The Firefox rendering is shown below:</p>
<p class="img screenshot"><img src="http://static.fortes.com/2007/05/html-cheltenham-10.png" alt="10pt Cheltenham in Firefox" /></p>
<p>The lack of subpixel positioning destroys the serif font at small sizes. You can see the effect at larger sizes as well — here is Cheltenham at 14 point:</p>
<p class="img screenshot"><img src="http://static.fortes.com/2007/05/html-cheltenham-14.png" alt="14pt Cheltenham in Firefox" /></p>
<p>You can see the strange letter spacing in the first line — compare “Marketing” and “cross” to see the difference.</p>
<p>The sans-serif fonts fared better in the browser, with Verdana doing particularly well as it was <a href="http://www.will-harris.com/verdana-georgia.htm">specifically tuned for on-screen use</a>.</p>
<p>Internet Explorer 7 <a href="http://blogs.msdn.com/ie/archive/2006/02/03/524367.aspx">uses ClearType</a> for its font rendering, and should therefore produce results that are nearly identical to WPF.</p>
<h3>Silverlight</h3>
<p>Silverlight is the least mature of the platforms (since Apollo leverages both Flex and Flash). The 1.1 Alpha version that I tested unfortunately does not support for the Adobe CFF font format — meaning I was unable to test Cheltenham or Gotham Rounded. Silverlight doesn’t use the ClearType algorithm used by WPF, instead it uses <a href="http://silverlight.net/forums/t/454.aspx">gray scale anti-aliasing with gamma correction</a>. The results are generally good, with the clear weakness being at small sizes. Here is Verdana at 9pt in Silverlight:</p>
<p class="img screenshot"><img src="http://static.fortes.com/2007/05/silverlight-verdana-9.png" alt="9pt Verdana in Silverlight" /></p>
<p>At this small size, Verdana looks a bit fuzzy. The effect is less noticeable at 10 point, but still there.</p>
<h3>WPF</h3>
<p>All text in WPF is rendered with ClearType — developers have no way of opting out of this (actually, there is a way, but it’s pretty awkward and not really well known). The quality of text at small sizes is impressive, here’s Gotham Rounded at 9pt in WPF:</p>
<p class="img screenshot"><img src="http://static.fortes.com/2007/05/wpf-gotham-9.png" alt="10pt Cheltenham, Bitmap mode in Flash" /></p>
<p>It’s slightly fuzzy and a bit gray, but overall a bit better than the <a href="http://static.fortes.com/2007/05/flash-gotham-9-readability.png">flash version</a>.</p>
<h3>Verdict</h3>
<p>Overall, the results are pretty good. The only engine with poor results is the native Flex engine, but with support for Flash, there’s a clear, easy to use alternative at your disposal.</p>
<p>Although the browsers work quite well with standard web fonts (and any other specifically tuned for small sizes), they are not an acceptable choice for traditional print fonts — especially Serif faces (Internet Explorer 7 being the exception). Considering the lack of cross-browser font-embedding, this probably isn’t a problem for most.</p>
<p>Silverlight is still a baby in this space, and it shows (there’s currently no way to set line height, for example). The anti-aliasing looks pretty good at larger sizes, but is noticeably fuzzy at smaller sizes. Although it’s better than what most browsers provide, it still has a way to go before catching up to Flash and WPF.</p>
<p>The final two contenders are Flash and WPF — and it’s a close call when it comes to rendering. Here are three side-by-side samples for WPF and Flash. The first is Verdana at 9 point (all samples show Flash with readability anti-aliasing):</p>
<p class="img screenshot"><img src="http://static.fortes.com/2007/05/wpf-flash-verdana-9.png" alt="WPF vs. Flash for Verdana 9 point" /></p>
<p>Although the Flash version has a nicer color, the WPF wins by a hair here, for being a bit smoother and less blurry (look at the “B” in “Branding” in the Flash version, third line from the bottom). Let’s move on to Gotham Rounded at 9pt:</p>
<p class="img screenshot"><img src="http://static.fortes.com/2007/05/wpf-flash-gotham-9.png" alt="WPF vs. Flash for Gotham Rounded 9 point" /></p>
<p>Once again, Flash has stronger lines that WPF, but it’s uneven and has a bit of color fringing. Finally, let’s look at Cheltenham at 12 point:</p>
<p class="img screenshot"><img src="http://static.fortes.com/2007/05/wpf-flash-cheltenham-12.png" alt="WPF vs. Flash for Cheltenham 12 point" /></p>
<p>This time, WPF is a bit darker than Flash. This one is really a toss-up and depends on personal preference. Flash is a bit sharper, but the WPF version is smoother and more consistent.</p>
<p>Overall, I think WPF has the edge when it comes to font rendering, although it’s quite close and could easily come down to user preference.</p>
<h3>Next Steps</h3>
<p>This analysis is a bit rough, there’s a bunch on my to-do list here, including:</p>
<ul>
<li>Testing FlashType in Flex and Apollo</li>
<li>Testing non-CFF fonts in Silverlight</li>
<li>IE 7, Mac OS, and Ubuntu screenshots</li>
<li>More fonts</li>
</ul>
<p>Also, the font rendering is just <em>one</em> aspect of a user’s reading experience. Obviously layout, performance, installation, and many other factors come in to play here. Subscribe to <a href="http://fortes.com/feed" class="site-link">feed</a> to make sure you don’t miss the next installments.</p>
<h3>Raw Results</h3>
<p>If you’re interested, here are the screenshots from each test application, in PNG format: <a href="http://static.fortes.com/2007/05/fontrendering.zip">fontrendering.zip</a> (Zip, 500K)</p>

<p><a href="http://feeds.fortes.com/~a/fortes?a=Pp2j3n"><img src="http://feeds.fortes.com/~a/fortes?i=Pp2j3n" border="0"></img></a></p><div class="feedflare">
<a href="http://feeds.fortes.com/~f/fortes?a=f4XAIj"><img src="http://feeds.fortes.com/~f/fortes?i=f4XAIj" border="0"></img></a> <a href="http://feeds.fortes.com/~f/fortes?a=OSjp8j"><img src="http://feeds.fortes.com/~f/fortes?i=OSjp8j" border="0"></img></a> <a href="http://feeds.fortes.com/~f/fortes?a=17qMLj"><img src="http://feeds.fortes.com/~f/fortes?i=17qMLj" border="0"></img></a>
</div><img src="http://feeds.fortes.com/~r/fortes/~4/331738316" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://fortes.com/2007/05/font-rendering-in-across-rich-platforms/feed/</wfw:commentRss>
		<feedburner:origLink>http://fortes.com/2007/05/font-rendering-in-across-rich-platforms/</feedburner:origLink></item>
		<item>
		<title>The Sad State of Online Advertising</title>
		<link>http://feeds.fortes.com/~r/fortes/~3/331738317/</link>
		<comments>http://fortes.com/2007/05/the-sad-state-of-online-advertising/#comments</comments>
		<pubDate>Tue, 22 May 2007 16:00:31 +0000</pubDate>
		<dc:creator>fortes</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[advertising]]></category>

		<category><![CDATA[media]]></category>

		<category><![CDATA[onlineadvertising]]></category>

		<guid isPermaLink="false">http://fortes.com/?p=98</guid>
		<description>While reading an article in today’s New York Times, I saw the following sleazy ad:

How tall is Paris?
Answer correctly to receive your Pink Laptop
You’ve probably seen this genre of ad before, which offers free merchandise for a trivial task — of course, the ads always state that “Details Apply” in tiny text (I wonder how [...]</description>
			<content:encoded><![CDATA[<p>While reading <a href="http://www.nytimes.com/2007/05/22/science/earth/22ander.html?ei=5087%0A&amp;em=&amp;en=01239fc7204acafc&amp;ex=1179979200&amp;pagewanted=all">an article</a> in today’s New York Times, I saw the following sleazy ad:</p>
<p class="screenshot img"><img src="http://static.fortes.com/2007/05/nytimes-paris-hilton-ad.jpg" alt="Paris Hilton Ad in NYTimes" /></p>
<blockquote><p>How tall is Paris?</p>
<p>Answer correctly to receive your Pink Laptop</p></blockquote>
<p>You’ve probably seen this genre of ad before, which offers free merchandise for a trivial task — of course, the ads always state that “Details Apply” in tiny text (I wonder how the <abbr title="Federal Trade Commission">FTC</abbr> feels about these “details”).</p>
<p>As stupid as these ads are, they’re not much worse than the <a href="http://business.bostonherald.com/businessNews/view.bg?articleid=137549">advertisements for escort services</a> that you see in back pages of a <a href="http://www.thestranger.com/seattle/Home">free weeky</a> — but you’d never see one of those next to a top story in the print edition of the New York Times!</p>
<p>Why not? Money, of course. A prominent ad in the print edition of the NYT is far too expensive to be purchased by the low-class advertisers — and even if it were cheap enough, the NYT’s higher-end advertisers (luxury companies such as Tiffany’s, who spend <em>a lot</em> of money to consistently advertise in the paper) would never allow their brand to be anywhere near an ad like that.</p>
<p>But it turns out that Tiffany’s and other high-end advertisers don’t advertise on the web — because there’s no appropriate online advertising surface out there for them. This missing business causes two side-effects:</p>
<ol>
<li>The scummy advertisers aren’t priced out of the market</li>
<li>The Times, faced with low-revenues in their online edition, can’t be as choosy when it comes to advertisers</li>
</ol>
<h4>Broader Markets are Good</h4>
<p>One could mis-interpret my previous statements and say that I’m an advertiser snob, looking to price out the little guy. This, of course, is false. Even with <a href="http://www.marketingvox.com/archives/2006/07/24/online_advertising_to_reach_nine_percent_of_total_ad_spend_by_2011/">way less than ten percent</a> of the advertising market, the Internet has brought more advertisers into the market — this is undoubtedly a <em>good thing</em>.</p>
<p>Large publishers, like the Times, can (and should) still cater to the little guy. Unlike the print version, an online edition need not display the same advertisement for all readers in perpetuity. A digital publication can sell limited run, or niche-targeted advertisements at a lower total cost and higher visibility than they could in the one-size-fits-all print edition. In fact, I’m certain they already do so.</p>
<p>Publishers like the Times have to start being picky and demanding a certain level of quality from their advertisers. In the print world, it’s clear that advertisements are <em>part of the content</em> (look at any fashion magazine if you’re in doubt) — this attitude needs to extend to the digital realm.</p>
<h4>Moving toward a better future</h4>
<p>At Mix, I showed some <a href="http://fortes.com/2007/05/video-and-screenshots-from-the-mix-panel/" class="site-link">sketches of what online Magazines can become</a>. <a href="http://rogerblack.com/">Roger Black</a> and I are working to create higher-end content experiences that won’t dilute the brand of luxury advertisers. Rest assured, you won’t be asked to <a href="http://www.everything2.com/index.pl?node_id=448903">punch a monkey</a>.</p>
<p>It’s still early, so all I have to show are sketches — but there’s a lot of room for improvement in this space! I’m a bit surprised by the state we’re in today, because so many of today’s mistakes come from ignoring the lessons learned during decades of print publishing. Of course, digital is a different medium than print, which means that we need new plenty of new paradigms in order to succeed — but that just makes it all the more exciting!</p>
<h4>Update: Other Voices</h4>
<p>After writing this post, I found P.J. Onori’s excellent (and similarly-titled) article <a href="http://www.somerandomdude.net/blog/opinion/sorry-state-of-online-advertising/">The Sorry State of Online Advertising</a> — which I recommend. He makes similar points (and posted them first, so he wins):</p>
<blockquote><p>I would argue that the sheer number of advertisements some of these sites have on their site is evidence that the current ad model is not working. Instead of thinking of more original, symbiotic and user-friendly forms of advertising, most site creators have subscribed to the “more ads means more revenue” philosophy. This current relationship between the site creator and advertisers is much like a building landlord and a renter. Space is offered to the advertiser and other than the exchange of money, there is little to no relationship between the two. Under this model, the landlord attempts to rent out all the space to whoever offers money. The problem with this model is that if the landlord just rents out rooms to anyone without any discernment, the landlord’s property could be quickly destroyed by the renters. Meanwhile, the apartment building is in shambles and no one is interested to look at the space, much less rent it. Similarly, if a website does not carefully choose its advertisers, the web site could shortly be a ghost town. An interest in short-term gains can ultimately disenfranchise a site’s users to the point that they do not come back. Guess what, advertisers are going to drop you like a bad habit once you are not giving them what they want - click-throughs and revenue.</p></blockquote>
<p>Another article worth reading is <a href="http://www.younggogetter.com/2007/04/15/the-devil-online-advertising/">The Devil &amp; Online Advertising</a> by Darius A Monsef IV. Here’s an excerpt:</p>
<blockquote><p>Do you know why you only see those terrible, low-budget ads on your local television stations? Because it costs too much for those guys to hock their “Super-Mega-One-Day-Only-Sales-Extravaganza!” on national television. When the price point to advertise online is in the pennies per CPM, then you’re going to end up with low-quality advertisers.</p></blockquote>

<p><a href="http://feeds.fortes.com/~a/fortes?a=Ltx4jB"><img src="http://feeds.fortes.com/~a/fortes?i=Ltx4jB" border="0"></img></a></p><div class="feedflare">
<a href="http://feeds.fortes.com/~f/fortes?a=M206ij"><img src="http://feeds.fortes.com/~f/fortes?i=M206ij" border="0"></img></a> <a href="http://feeds.fortes.com/~f/fortes?a=RtA5Vj"><img src="http://feeds.fortes.com/~f/fortes?i=RtA5Vj" border="0"></img></a> <a href="http://feeds.fortes.com/~f/fortes?a=MiwOhj"><img src="http://feeds.fortes.com/~f/fortes?i=MiwOhj" border="0"></img></a>
</div><img src="http://feeds.fortes.com/~r/fortes/~4/331738317" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://fortes.com/2007/05/the-sad-state-of-online-advertising/feed/</wfw:commentRss>
		<feedburner:origLink>http://fortes.com/2007/05/the-sad-state-of-online-advertising/</feedburner:origLink></item>
		<item>
		<title>UniformPanel</title>
		<link>http://feeds.fortes.com/~r/fortes/~3/331738318/</link>
		<comments>http://fortes.com/2007/05/uniformpanel/#comments</comments>
		<pubDate>Mon, 07 May 2007 16:00:22 +0000</pubDate>
		<dc:creator>fortes</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[layout]]></category>

		<category><![CDATA[wpf]]></category>

		<guid isPermaLink="false">http://fortes.com/?p=97</guid>
		<description>A few months ago, Nick Thuesen posted his SpanningStackPanel class, which is basically a cross beween UniformGrid and StackPanel. Around that time, I was working on a project that called for exactly that layout.
Unfortunately, Nick’s panel didn’t work in my application because he was modifying the Children collection in his code, which is a big [...]</description>
			<content:encoded><![CDATA[<p>A few months ago, Nick Thuesen posted his <a href="http://www.nickthuesen.com/?p=15"><code>SpanningStackPanel</code></a> class, which is basically a cross beween <code>UniformGrid</code> and <code>StackPanel</code>. Around that time, I was working on a project that called for exactly that layout.</p>
<p>Unfortunately, Nick’s panel didn’t work in my application because he was modifying the <code>Children</code> collection in his code, which is a big no-no if you want to support databinding (e.g. in order to use it as the <code>ItemsPanel</code> within a <code>ListBox</code>). I ended up writing my own version, adding a few features that were required for the project.</p>
<p>At Mix, I promised Nick I’d post and get him the fixed source code. You can download the source (plus some basic tests) in the first version of the <a href="http://static.fortes.com/2007/05/fortespanelpack.zip">Fortes Panel Pack</a> (currently “Pack” is a misnomer, since there’s only one — but I have a few more waiting to be packaged for external consumption).</p>
<h3>Features / Release Notes:</h3>
<ul>
<li>All the features of Nick’s original</li>
<li>Support for data-bound children</li>
<li>Special support for <code>Expander</code> children: Detects collapsed <code>Expander</code> elements and treats them as fixed-size elements</li>
<li>Bug: Support for <code>Expander</code> within a <code>Template</code> does not lay out correctly on the first pass — see the <code>DataBoundPanels.xaml</code> file in the sample project. Resizing the window, or any other action that causes a relayout, fixes the issue. (I’ll fix it in the next release)</li>
</ul>

<p><a href="http://feeds.fortes.com/~a/fortes?a=SBlFpX"><img src="http://feeds.fortes.com/~a/fortes?i=SBlFpX" border="0"></img></a></p><div class="feedflare">
<a href="http://feeds.fortes.com/~f/fortes?a=1kkZRj"><img src="http://feeds.fortes.com/~f/fortes?i=1kkZRj" border="0"></img></a> <a href="http://feeds.fortes.com/~f/fortes?a=G3WPhj"><img src="http://feeds.fortes.com/~f/fortes?i=G3WPhj" border="0"></img></a> <a href="http://feeds.fortes.com/~f/fortes?a=IQcltj"><img src="http://feeds.fortes.com/~f/fortes?i=IQcltj" border="0"></img></a>
</div><img src="http://feeds.fortes.com/~r/fortes/~4/331738318" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://fortes.com/2007/05/uniformpanel/feed/</wfw:commentRss>
		<feedburner:origLink>http://fortes.com/2007/05/uniformpanel/</feedburner:origLink></item>
		<item>
		<title>Video and Screenshots from the Mix Panel</title>
		<link>http://feeds.fortes.com/~r/fortes/~3/331738319/</link>
		<comments>http://fortes.com/2007/05/video-and-screenshots-from-the-mix-panel/#comments</comments>
		<pubDate>Thu, 03 May 2007 16:00:48 +0000</pubDate>
		<dc:creator>fortes</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[mix07]]></category>

		<category><![CDATA[wpf]]></category>

		<guid isPermaLink="false">http://fortes.com/?p=96</guid>
		<description>Microsoft has posted videos from the Mix sessions, which means you can view the video of our panel online. There’s also a WMV version you can download directly (roughly 80 MB).
Unfortunately, the production quality of the video isn’t very good. The video shows only the projection feed, which was fairly static except for about 25 [...]</description>
			<content:encoded><![CDATA[<p>Microsoft has <a href="http://sessions.visitmix.com/">posted videos from the Mix sessions</a>, which means you can <a href="http://sessions.visitmix.com/default.asp?event=1015&amp;session=2013,2014&amp;pid=PAN04&amp;disc=&amp;id=1537&amp;year=2007&amp;search=PAN04">view the video of our panel</a> online. There’s also a <a href="http://int1.fp.sandpiper.net/soma/applications/silverlight/v1/videos/PAN04.wmv">WMV version you can download directly</a> (roughly 80 MB).</p>
<p>Unfortunately, the production quality of the video isn’t very good. The video shows only the projection feed, which was fairly static except for about 25 minutes worth of demos by myself and Tom Bodkin. Also, the projector in the room was running at 1280 by 720 pixels, which was then (stupidly) stretched to a different aspect ratio for the video. I’ve included a few non-stretched screenshots from my demo below:</p>
<p class="img screenshot"><img src="http://static.fortes.com/2007/05/indigo-mixdemo-frontpage.jpg" alt="Indigo Demo - Front Page" /></p>
<p class="img screenshot"><img src="http://static.fortes.com/2007/05/indigo-mixdemo-geicoad.jpg" alt="Indigo Demo - Geico Ad" /></p>
<p class="img screenshot"><img src="http://static.fortes.com/2007/05/indigo-mixdemo-mostpopular.jpg" alt="Indigo Demo - Most Popular" /></p>
<p>If you don’t feel like watching the video, Tim Anderson has written a <a href="http://www.itwriting.com/blog/?p=207">good summary of the panel</a>.</p>
<p>During the session, I showed a demo that myself and Roger Black (amongst others) have been working on in the past couple of weeks. It’s a rendition of the English-language version of <a href="http://www.reporteindigo.com/">Reporte Indigo</a>, a Mexican online weekly magazine currently done in Flash. Our goal was to show some of the directions we see online reading experiences moving toward: richer, branded layouts that look good across a variety of screen dimensions, integrated media, richer advertisements, and continued increases in community-driven features. My big fat mouth has more to say about this area, but that will have to wait until</p>

<p><a href="http://feeds.fortes.com/~a/fortes?a=qnTjGP"><img src="http://feeds.fortes.com/~a/fortes?i=qnTjGP" border="0"></img></a></p><div class="feedflare">
<a href="http://feeds.fortes.com/~f/fortes?a=XGL7wj"><img src="http://feeds.fortes.com/~f/fortes?i=XGL7wj" border="0"></img></a> <a href="http://feeds.fortes.com/~f/fortes?a=HUqakj"><img src="http://feeds.fortes.com/~f/fortes?i=HUqakj" border="0"></img></a> <a href="http://feeds.fortes.com/~f/fortes?a=Im0q5j"><img src="http://feeds.fortes.com/~f/fortes?i=Im0q5j" border="0"></img></a>
</div><img src="http://feeds.fortes.com/~r/fortes/~4/331738319" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://fortes.com/2007/05/video-and-screenshots-from-the-mix-panel/feed/</wfw:commentRss>
		<feedburner:origLink>http://fortes.com/2007/05/video-and-screenshots-from-the-mix-panel/</feedburner:origLink></item>
		<item>
		<title>Come See Me at Mix</title>
		<link>http://feeds.fortes.com/~r/fortes/~3/331738320/</link>
		<comments>http://fortes.com/2007/04/come-see-me-at-mix/#comments</comments>
		<pubDate>Mon, 23 Apr 2007 16:00:29 +0000</pubDate>
		<dc:creator>fortes</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[mix07]]></category>

		<category><![CDATA[wpf]]></category>

		<guid isPermaLink="false">http://fortes.com/?p=95</guid>
		<description>Those attending Mix 07 next week in Las Vegas might be interested in going to Beyond the Reader: Improving the Online Media Experience, a panel discussion featuring yours truly (along with Roger Black of The Font Bureau/Danilo Black and Tom Bodkin of the New York Times). It’s currently scheduled during the first timeslot on Wednesday [...]</description>
			<content:encoded><![CDATA[<p>Those attending <a href="http://visitmix.com/">Mix 07</a> next week in Las Vegas might be interested in going to <a href="https://content.visitmix.com/public/sessions.aspx">Beyond the Reader: Improving the Online Media Experience</a>, a panel discussion featuring yours truly (along with <a href="http://rogerblack.com/">Roger Black</a> of <a href="http://www.fontbureau.com/">The Font Bureau</a>/<a href="http://daniloblackusa.com/">Danilo Black</a> and <a href="http://en.wikipedia.org/wiki/Tom_Bodkin">Tom Bodkin</a> of the New York Times). It’s currently scheduled during the first timeslot on Wednesday morning.</p>
<p>Here’s the abstract:</p>
<blockquote><p>Is it really possible to make online narrative content glamorous? Smart designers are complementing their traditional strengths in branding and narrative with technologies such as WPF to create highly flexible, readable and vibrant online media products. See how designer-delivered digital media can work on-and-off-line, in-and-outside the browser. Envision next year’s portal digital world and how can you become part of it. For producers of newspapers, magazines, and TV content, this is the next Web.</p></blockquote>

<p><a href="http://feeds.fortes.com/~a/fortes?a=KFi9MO"><img src="http://feeds.fortes.com/~a/fortes?i=KFi9MO" border="0"></img></a></p><div class="feedflare">
<a href="http://feeds.fortes.com/~f/fortes?a=7JF76j"><img src="http://feeds.fortes.com/~f/fortes?i=7JF76j" border="0"></img></a> <a href="http://feeds.fortes.com/~f/fortes?a=yV2REj"><img src="http://feeds.fortes.com/~f/fortes?i=yV2REj" border="0"></img></a> <a href="http://feeds.fortes.com/~f/fortes?a=R6VN5j"><img src="http://feeds.fortes.com/~f/fortes?i=R6VN5j" border="0"></img></a>
</div><img src="http://feeds.fortes.com/~r/fortes/~4/331738320" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://fortes.com/2007/04/come-see-me-at-mix/feed/</wfw:commentRss>
		<feedburner:origLink>http://fortes.com/2007/04/come-see-me-at-mix/</feedburner:origLink></item>
	</channel>
</rss>
