<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Vikram Madan's Blog: Fun With Windows  : Cleartype</title><link>http://blogs.msdn.com/vikrammadan/archive/tags/Cleartype/default.aspx</link><description>Tags: Cleartype</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Eyeing the Display: Illusion and Resolution...</title><link>http://blogs.msdn.com/vikrammadan/archive/2007/04/03/eyeing-the-display-illusion-and-resolution.aspx</link><pubDate>Tue, 03 Apr 2007 11:19:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2016649</guid><dc:creator>VikramMadan</dc:creator><slash:comments>23</slash:comments><comments>http://blogs.msdn.com/vikrammadan/comments/2016649.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vikrammadan/commentrss.aspx?PostID=2016649</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;&lt;IMG style="WIDTH: 160px; HEIGHT: 240px" height=240 src="http://blogs.msdn.com/photos/vikrammadan/images/2016577/original.aspx" width=160 align=left mce_src="http://blogs.msdn.com/photos/vikrammadan/images/2016577/original.aspx"&gt;Half the human brain (the half &lt;I style="mso-bidi-font-style: normal"&gt;not&lt;/I&gt; fixated on media celebrities) is directly or indirectly associated with vision. Evolution has apparently decided that what we see, matters. Just as our eyes are our primary windows to our world, the displays on our mobile-computing devices are the primary windows to our information. The bigger we open our eyes, the larger our displays, the more the information we can absorb. Eyes work best when we don’t strain them, displays (LCDs only – I’m ignoring CRTs here) when we run them at their native resolution. We can perceive a few extra details by squinting (i.e. running the LCD display at a higher, non-native resolution) but it doesn’t feel natural. Things get blurry, headaches ensue. No surprise then that it’s in our best interest to find the optimal tuning between eye and display. Eyes you can’t tweak. But displays you can. Thank goodness.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;Which brings us to our first topic for today: clarity of text aka &lt;STRONG&gt;ClearType&lt;/STRONG&gt;. ClearType technology has been around for a while. Having watched it develop from a very close range – while I worked on the Microsoft Reader product – I willingly profess a certain fondness for it and personally think it’s both under-rated and under-utilized. For best viewing results, UMPC users need to pay special attention to ClearType.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;First, a primer. &lt;I style="mso-bidi-font-style: normal"&gt;On LCD displays only&lt;/I&gt;, ClearType smoothens font edges to make text appear crisp and sharp. Unlike CRTs, where a single un-manipulatable dot represents each displayed pixel, pixels on LCD displays have separately addressable red-green-blue (RGB) component-color sub-pixels (3 per screen pixel). When a character is rendered on the CRT screen, the underlying pixels are either part of the character, or they are not, leading to non-linear edges that make the rendered text look jagged and rough, a miniature version of prehistoric computer graphics on prehistoric displays. On an LCD screen, the jaggies still exist – except ClearType makes them 'more subtle’ by manipulating the 3 RGB sub-pixels under each ‘jaggy’ pixel. Since different RGB combinations produce different colors/brightness, in effect ClearType is manipulating the colors/brightness of the pixels that comprise the font edge. Because human vision is both imperfect and non-linear, from a distance the eye-brain perceives these color/brightness variations as smooth lines and not as colored patterns. In other words, ClearType makes text look good by creating an &lt;B style="mso-bidi-font-weight: normal"&gt;Optical Illusion&lt;/B&gt;.&amp;nbsp;(The illusion itself is effective because the color variations Cleartype creates are themselves based on a model of human vision). And to think you thought Windows was WYSIWYG (&lt;I style="mso-bidi-font-style: normal"&gt;What You See Is What You Get&lt;/I&gt;)! &lt;/FONT&gt;&lt;SPAN style="FONT-FAMILY: Wingdings; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-char-type: symbol; mso-symbol-font-family: Wingdings; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;J&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri&gt; Well, it’s not. You’ve been tricked. Talk to your brain! &lt;/FONT&gt;&lt;SPAN style="FONT-FAMILY: Wingdings; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-char-type: symbol; mso-symbol-font-family: Wingdings; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;J&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;There are two key points above that impact &lt;B style="mso-bidi-font-weight: normal"&gt;your&lt;/B&gt; UMPC (or Tablet or LCD...) ClearType experience. Since you probably weren’t paying attention, I’ll call them out explicitly&lt;/FONT&gt;&lt;SPAN style="FONT-FAMILY: Wingdings; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-char-type: symbol; mso-symbol-font-family: Wingdings; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;J&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri&gt;:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpFirst style="MARGIN: 0in 0in 0pt 19.8pt; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1; mso-add-space: auto"&gt;&lt;SPAN style="mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;(1)&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;I style="mso-bidi-font-style: normal"&gt;ClearType manipulates the Red-Green-Blue sub-pixels directly.&lt;/I&gt; The order in which these sub-pixels occur is called striping. The default striping for most LCD displays is &lt;STRONG&gt;RGB&lt;/STRONG&gt; (in other words, Red followed by Green followed by Blue). In both Vista and XP, ClearType &lt;I style="mso-bidi-font-style: normal"&gt;assumes&lt;/I&gt; by default that it is dealing with RGB striping and happily tweaks the pixel components using this assumption. Unfortunately for some of us, the &lt;STRONG&gt;default striping &lt;/STRONG&gt;on some (&lt;EM&gt;many? all?&lt;/EM&gt;)&amp;nbsp;7" UMPC displays is&lt;B style="mso-bidi-font-weight: normal"&gt; BGR&lt;/B&gt; (Blue, Green, Red – inverse of RGB). When you&amp;nbsp;run Vista (or turn on XP-ClearType) on these BGR machines, instead of crisp, clear text, you get &lt;I style="mso-bidi-font-style: normal"&gt;fuzzy,&lt;/I&gt; &lt;I style="mso-bidi-font-style: normal"&gt;multi-colored,&lt;B style="mso-bidi-font-weight: normal"&gt; &lt;/B&gt;rainbow-fringed&lt;/I&gt; text! To a sensitive eye like mine, this basically sucks. The &lt;B style="mso-bidi-font-weight: normal"&gt;good news&lt;/B&gt; is that ClearType can handle BGR striping just as well as RGB striping – but you have to tell it to do so&lt;/FONT&gt;&lt;SPAN style="FONT-FAMILY: Wingdings; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-char-type: symbol; mso-symbol-font-family: Wingdings; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;J&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri&gt;. The &lt;B style="mso-bidi-font-weight: normal"&gt;bad news&lt;/B&gt; is that there is no inbuilt UI in either XP or Vista to tweak this setting&lt;/FONT&gt;&lt;SPAN style="FONT-FAMILY: Wingdings; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-char-type: symbol; mso-symbol-font-family: Wingdings; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;L&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri&gt;. But the &lt;B style="mso-bidi-font-weight: normal"&gt;really good news&lt;/B&gt; is that you can run &lt;A class="" href="http://www.microsoft.com/typography/cleartype/tuner/Step1.aspx" target=_blank mce_href="http://www.microsoft.com/typography/cleartype/tuner/Step1.aspx"&gt;&lt;STRONG&gt;the ClearType Tuner &lt;/STRONG&gt;&lt;/A&gt;from the Microsoft Typography web site to fix this&lt;/FONT&gt;&lt;SPAN style="FONT-FAMILY: Wingdings; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-char-type: symbol; mso-symbol-font-family: Wingdings; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;J&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri&gt;. Run, don’t walk.&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Calibri size=3&gt; (This tuner has recently been updated for Vista. Hooray!)&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 19.8pt; mso-add-space: auto"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpLast style="MARGIN: 0in 0in 10pt 19.8pt; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1; mso-add-space: auto"&gt;&lt;SPAN style="mso-fareast-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;(2)&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;I style="mso-bidi-font-style: normal"&gt;ClearType tweaks colors based on a human-vision model&lt;/I&gt;. As our choice in fashion (or mates!) shows, everyone’s vision works differently. The ClearType human-vision model is not a one-size-fits-all solution. &lt;I style="mso-bidi-font-style: normal"&gt;Your&lt;/I&gt; perception of ClearType &lt;I style="mso-bidi-font-style: normal"&gt;will&lt;/I&gt; vary from the person next to you, however much you like that person. Nicely enough, the ClearType Tuner also lets you pick a setting that looks best to &lt;I style="mso-bidi-font-style: normal"&gt;your&lt;/I&gt; eyes. Another reason to give &lt;A class="" href="http://www.microsoft.com/typography/cleartype/tuner/Step1.aspx" target=_blank mce_href="http://www.microsoft.com/typography/cleartype/tuner/Step1.aspx"&gt;&lt;STRONG&gt;the ClearType tuner &lt;/STRONG&gt;&lt;/A&gt;a spin. Sprint, don’t run! &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;Once you have ClearType adjusted correctly for &lt;I style="mso-bidi-font-style: normal"&gt;your&lt;/I&gt; display striping and for &lt;I style="mso-bidi-font-style: normal"&gt;your &lt;/I&gt;eyes, you’ll be surprised at how delightful it is to read text on the 7” UMPC displays (or any other LCD display). Note that ClearType only works at the native display resolution. This is because ClearType is expecting to manipulate each pixel individually. When you run at a non-native display resolution, you’re trying to squeeze more displayed pixels onto each physical pixel, which creates one big, fuzzy, on-screen mess. Which brings us to our second topic for today: the 800x480 default native resolution on 7” UMPCs.&lt;IMG title="This offer won't last ... " style="WIDTH: 440px; HEIGHT: 330px" height=330 alt="This offer won't last ... " src="http://blogs.msdn.com/photos/vikrammadan/images/2016580/original.aspx" width=440 align=right mce_src="http://blogs.msdn.com/photos/vikrammadan/images/2016580/original.aspx"&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;The 800x480 resolution has an official name: WVGA. But an official name doesn’t make this resolution any less funky and non-standard, at least from the Windows perspective. Given how long 4:3 display ratios have held sway, you can’t quite retroactively blame legacy-app programmers for not foreseeing a future teeming with 5:3, 16:9 or other &lt;A class="" href="http://en.wikipedia.org/wiki/Display_resolution#Common_display_resolutions" target=_blank mce_href="http://en.wikipedia.org/wiki/Display_resolution#Common_display_resolutions"&gt;nifty vertical-horizontal combinations&lt;/A&gt;. (You can and should, however, hound programmers of new apps that continue to make the same ol’ mistaken assumptions). Due to this lack of futurist foresight, the poor UMPC user will occasionally encounter an errant app that chokes on the screen resolution, refuses to install, shows UI that runs off the screen, and/or exhibits other heartburn-inducing behavior. Thankfully, though, these issues are mostly in a minority. (The majority of Windows apps do work well on the UMPC&amp;nbsp;today). And over time, the native display resolution is expected to move up a notch, which will hopefully make today’s resolution-related issues yesterday’s footnote. &lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;For most of us though, the promise of a better future doesn’t quite relieve the pain of the moment. If you’re running 800x480 on your 7” UMPC, you’ve likely already experienced the first-hand joy of having ‘certain’ windows dialogs run off the bottom of your UMPC screen, making it impossible to get to the dialog buttons. One work-around is to briefly switch to a higher, non-native resolution (painful). Another work-around is to anchor your Windows taskbar to the side instead of the bottom, giving you more vertical working space (which fixes the issue for many - but not all – dialogs). &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;A third option, one premiering here for your pleasure and consumption, is to download the &lt;A class="" href="http://blogs.msdn.com/vikrammadan/attachment/2016649.ashx" target=_blank mce_href="http://blogs.msdn.com/vikrammadan/attachment/2016649.ashx"&gt;attached&amp;nbsp;‘wholly-&lt;IMG style="WIDTH: 309px; HEIGHT: 317px" height=317 src="http://blogs.msdn.com/photos/vikrammadan/images/2016848/original.aspx" width=309 align=right mce_src="http://blogs.msdn.com/photos/vikrammadan/images/2016848/original.aspx"&gt;unsupported' 'pseudo-power-toy’ UMPCScrollbar utility&lt;/A&gt; and run it on your &lt;STRONG&gt;Vista&lt;/STRONG&gt; UMPC. This utility runs in the background (no visible/configuration UI) and pops up an on-screen scrollbar whenever it detects a non-resizable dialog taller than the available vertical working screen estate. The scrollbar then allows you to nudge the dialog up and down, so you can access the dialog buttons that would otherwise be inaccessible. See the 'readme.txt' in the zip file for more information.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;[&lt;EM&gt;Note: The UMPCScrollbar utility is compiled against the Windows Vista SDK and will not run on XP. It was cobbled together as a means to an end and is neither aesthetically pleasing nor perfectly engineered. Plus I couldnt bribe anyone to test it so it would help if you kept your expectations appropriately low...:)]&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN style="FONT-SIZE: 11pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2016649" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/vikrammadan/attachment/2016649.ashx" length="31624" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/vikrammadan/archive/tags/UMPC/default.aspx">UMPC</category><category domain="http://blogs.msdn.com/vikrammadan/archive/tags/Origami/default.aspx">Origami</category><category domain="http://blogs.msdn.com/vikrammadan/archive/tags/Cleartype/default.aspx">Cleartype</category><category domain="http://blogs.msdn.com/vikrammadan/archive/tags/Download/default.aspx">Download</category></item></channel></rss>