<?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>Rhymes with Amharic #4 (a.k.a. we're all [sub]set so turning out the lights and going to [em]bed!)</title><link>http://blogs.msdn.com/michkap/archive/2007/04/14/2137215.aspx</link><description>(see also parts 1 , 2 , and 3 ) OK, we are getting close to the end of this little mini-series.... First there was a comment from Dennis E. Hamilton asking about the DPI in the screen shots of that first post: I notice two things here. First, the impact</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Custom Cultures - WinForms Font Embedding Code with Ethiopian Amharic for Vista </title><link>http://blogs.msdn.com/michkap/archive/2007/04/14/2137215.aspx#2140395</link><pubDate>Sun, 15 Apr 2007 07:58:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2140395</guid><dc:creator>Scott Hanselman's Computer Zen</dc:creator><description /></item><item><title>Scott Hanselman's Computer Zen - Custom Cultures - WinForms Font Embedding Code with Ethiopian Amharic for Vista and XP</title><link>http://blogs.msdn.com/michkap/archive/2007/04/14/2137215.aspx#2140396</link><pubDate>Sun, 15 Apr 2007 07:58:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2140396</guid><dc:creator>Scott Hanselman's Computer Zen - Custom Cultures - WinForms Font Embedding Code with Ethiopian Amharic for Vista and XP</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.hanselman.com/blog/CustomCulturesWinFormsFontEmbeddingCodeWithEthiopianAmharicForVistaAndXP.aspx"&gt;http://www.hanselman.com/blog/CustomCulturesWinFormsFontEmbeddingCodeWithEthiopianAmharicForVistaAndXP.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Rhymes with Amharic #4 (a.k.a. we're all [sub]set so turning out the lights and going to [em]bed!)</title><link>http://blogs.msdn.com/michkap/archive/2007/04/14/2137215.aspx#2140609</link><pubDate>Sun, 15 Apr 2007 08:32:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2140609</guid><dc:creator>Cory Nelson</dc:creator><description>&lt;p&gt;Did you intend for the Vista DPI scaling to happen? &amp;nbsp;It looks like those are all being rendered at 96dpi and scaled up as a bitmap.&lt;/p&gt;
&lt;p&gt;You need to call SetProcessDPIAware() before you create any windows to make the app truely use high DPI.&lt;/p&gt;</description></item><item><title>re: Rhymes with Amharic #4 (a.k.a. we're all [sub]set so turning out the lights and going to [em]bed!)</title><link>http://blogs.msdn.com/michkap/archive/2007/04/14/2137215.aspx#2140808</link><pubDate>Sun, 15 Apr 2007 08:48:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2140808</guid><dc:creator>Michael S. Kaplan</dc:creator><description>&lt;p&gt;In this case, you have the source. So you know that I did not go to any special effort here along those lines, right?&lt;/p&gt;
</description></item><item><title>Rhymes with Amharic #5 (a.k.a. [Sub]setting up this code where it can do the most good?)</title><link>http://blogs.msdn.com/michkap/archive/2007/04/14/2137215.aspx#2145625</link><pubDate>Sun, 15 Apr 2007 19:21:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2145625</guid><dc:creator>Sorting It All Out</dc:creator><description>&lt;p&gt;I may never be entirely used to working for Microsoft, as opposed to working with Microsoft products....&lt;/p&gt;
</description></item><item><title>re: Rhymes with Amharic #4 (a.k.a. we're all [sub]set so turning out the lights and going to [em]bed!)</title><link>http://blogs.msdn.com/michkap/archive/2007/04/14/2137215.aspx#2148377</link><pubDate>Mon, 16 Apr 2007 03:45:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2148377</guid><dc:creator>Dean Harding</dc:creator><description>&lt;p&gt;&amp;gt; I did not go to any special effort here along those lines, right?&lt;/p&gt;
&lt;p&gt;That's why it looks so bad, then. For some reason, Windows assumes that applications, by default, are not able scale properly in high DPI modes and so it does bitmap scaling -- unless you specify in your manifest (or by calling SetProcessDPIAware()) that you scale properly. Even worse, WinForms (and MFC and pretty much every other GUI framework) usually scales perfectly well.&lt;/p&gt;
&lt;p&gt;As a quick test, you can right-click on the .exe and in the Properties dialog, check the &amp;quot;disable scaling for high DPI&amp;quot; (or whatever it is called) and try making the screenshots again -- it'll look MUCH, MUCH better.&lt;/p&gt;
&lt;p&gt;In my opinion, it should have been the other way around: by default, do NOT do bitmap scaling, but include it as an option. Oh well...&lt;/p&gt;
</description></item><item><title>re: Rhymes with Amharic #4 (a.k.a. we're all [sub]set so turning out the lights and going to [em]bed!)</title><link>http://blogs.msdn.com/michkap/archive/2007/04/14/2137215.aspx#2148622</link><pubDate>Mon, 16 Apr 2007 04:22:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2148622</guid><dc:creator>Michael S. Kaplan</dc:creator><description>&lt;P&gt;Okay, this is new info for me. :-)&lt;/P&gt;
&lt;P&gt;I put up some screenshots at multiple resolutions with that checkbox toggled, you can try them and tell me if you think they look better than the ones in that first post....&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://www.i18nwithvb.com/images/embed04new.png" target=_new rel=nofollow&gt;96 DPI&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://www.i18nwithvb.com/images/embed05new.png" target=_new rel=nofollow&gt;120 DPI&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://www.i18nwithvb.com/images/embed06new.png" target=_new rel=nofollow&gt;134 DPI&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://www.i18nwithvb.com/images/embed07new.png" target=_new rel=nofollow&gt;144 DPI&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description></item><item><title>re: Rhymes with Amharic #4 (a.k.a. we're all [sub]set so turning out the lights and going to [em]bed!)</title><link>http://blogs.msdn.com/michkap/archive/2007/04/14/2137215.aspx#2149393</link><pubDate>Mon, 16 Apr 2007 05:54:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2149393</guid><dc:creator>Dean Harding</dc:creator><description>&lt;p&gt;Yeah, those ones look much better :-)&lt;/p&gt;
&lt;p&gt;You can tell if you zoom in on the images. The old ones have two (or more) columns of blue/red pixels, while the news ones only have 1 column (which is what it is supposed to look like).&lt;/p&gt;
&lt;p&gt;You can force it to work permanently with that call to SetProcessDPIAware() or using a manifest (though I've never been able to find the documented method for using a manifest in WinForms...)&lt;/p&gt;
</description></item><item><title>re: Rhymes with Amharic #4 (a.k.a. we're all [sub]set so turning out the lights and going to [em]bed!)</title><link>http://blogs.msdn.com/michkap/archive/2007/04/14/2137215.aspx#2150058</link><pubDate>Mon, 16 Apr 2007 07:31:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2150058</guid><dc:creator>Michael S. Kaplan</dc:creator><description>&lt;p&gt;It is weird though.&lt;/p&gt;
&lt;p&gt;Why does the &amp;quot;Custom DPI setting&amp;quot; dialog have a &amp;quot;Use Windows XP style DPI scaling&amp;quot; (which I did not set) if it is going to do the old style DPI scaling anyway?&lt;/p&gt;
</description></item><item><title>re: Rhymes with Amharic #4 (a.k.a. we're all [sub]set so turning out the lights and going to [em]bed!)</title><link>http://blogs.msdn.com/michkap/archive/2007/04/14/2137215.aspx#2150220</link><pubDate>Mon, 16 Apr 2007 07:55:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2150220</guid><dc:creator>Dean Harding</dc:creator><description>&lt;p&gt;The &amp;quot;old-style&amp;quot; scaling is what you see in the &amp;quot;new&amp;quot; screenshots. The &amp;quot;new-style&amp;quot; scaling is bitmap scaling when you don't have a manifest/call SetProcessDPIAware.&lt;/p&gt;
&lt;p&gt;So if you have &amp;quot;use Windows XP-style DPI scaling&amp;quot; OFF then you get the ugly scaling. If you have &amp;quot;use Windows XP-style DPI scaling&amp;quot; ON you get the good scaling. Yes, that means Windows XP had better defaults than Vista (that's my opinion, at least).&lt;/p&gt;
&lt;p&gt;It's all a bit confusing. Basically, the bitmap scaling was added in Vista, and is the default (except for a few well-known apps like Office, and ones that have the manifest setting). Bitmap scaling also looks MUCH WORSE than any other kind of scaling...&lt;/p&gt;
</description></item><item><title>Font Embedding in Windows Forms</title><link>http://blogs.msdn.com/michkap/archive/2007/04/14/2137215.aspx#4649129</link><pubDate>Thu, 30 Aug 2007 19:21:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4649129</guid><dc:creator>Venkatarangan's Blog [வெங்கடரங்கன் வலைப்பதிவு]</dc:creator><description /></item><item><title>SiaO as The Red Carpet (aka Characters just want to be seen)</title><link>http://blogs.msdn.com/michkap/archive/2007/04/14/2137215.aspx#6747678</link><pubDate>Wed, 12 Dec 2007 18:05:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6747678</guid><dc:creator>Sorting It All Out</dc:creator><description>&lt;p&gt;Over in the Suggestion Box, Doug asks: Hi Michael, Your posts include a &amp;quot;This post brought to you by&amp;quot;&lt;/p&gt;</description></item></channel></rss>