<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Introduction to DirectWrite</title>
	<atom:link href="http://www.nuonsoft.com/blog/2009/05/27/introduction-to-directwrite/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nuonsoft.com/blog/2009/05/27/introduction-to-directwrite/</link>
	<description>Sharing my software development progress + other interesting things.</description>
	<lastBuildDate>Tue, 31 Jan 2012 17:12:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Eliya</title>
		<link>http://www.nuonsoft.com/blog/2009/05/27/introduction-to-directwrite/comment-page-1/#comment-30308</link>
		<dc:creator>Eliya</dc:creator>
		<pubDate>Wed, 20 Jul 2011 12:32:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.nuonsoft.com/blog/?p=240#comment-30308</guid>
		<description>Hi all,
How do i set the text to be curved? 

thanks!</description>
		<content:encoded><![CDATA[<p>Hi all,<br />
How do i set the text to be curved? </p>
<p>thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc Gregoire</title>
		<link>http://www.nuonsoft.com/blog/2009/05/27/introduction-to-directwrite/comment-page-1/#comment-23203</link>
		<dc:creator>Marc Gregoire</dc:creator>
		<pubDate>Wed, 08 Sep 2010 09:22:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.nuonsoft.com/blog/?p=240#comment-23203</guid>
		<description>I&#039;m pretty sure almost everything is done in hardware, also the cleartyping, though I didn&#039;t find any whitepaper explaining how it works. This article [ http://msdn.microsoft.com/en-us/magazine/dd861344.aspx ] mentions:
&lt;blockquote&gt;The Direct2D text rendering pipeline is executed entirely in hardware, through three stages. The first stage writes the glyphs into a texture, the next stage down-samples these glyphs and the final stage performs a clear-type filtering operation to transfer the text to the render target.&lt;/blockquote&gt;

</description>
		<content:encoded><![CDATA[<p>I&#8217;m pretty sure almost everything is done in hardware, also the cleartyping, though I didn&#8217;t find any whitepaper explaining how it works. This article [ <a href="http://msdn.microsoft.com/en-us/magazine/dd861344.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/magazine/dd861344.aspx</a> ] mentions:</p>
<blockquote><p>The Direct2D text rendering pipeline is executed entirely in hardware, through three stages. The first stage writes the glyphs into a texture, the next stage down-samples these glyphs and the final stage performs a clear-type filtering operation to transfer the text to the render target.</p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kim</title>
		<link>http://www.nuonsoft.com/blog/2009/05/27/introduction-to-directwrite/comment-page-1/#comment-23202</link>
		<dc:creator>Kim</dc:creator>
		<pubDate>Wed, 08 Sep 2010 06:12:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.nuonsoft.com/blog/?p=240#comment-23202</guid>
		<description>Perhaps there&#039;s another article/post pointing to this, but I&#039;ve been unable to find any details on how DirectWrite does it&#039;s rendering on GPUs. Does all work happen in SW and then get blitted to a HW surface in D2D? Or does the cleartype &amp; antialiasing actually happen in a pixel shader?</description>
		<content:encoded><![CDATA[<p>Perhaps there&#8217;s another article/post pointing to this, but I&#8217;ve been unable to find any details on how DirectWrite does it&#8217;s rendering on GPUs. Does all work happen in SW and then get blitted to a HW surface in D2D? Or does the cleartype &amp; antialiasing actually happen in a pixel shader?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc Gregoire</title>
		<link>http://www.nuonsoft.com/blog/2009/05/27/introduction-to-directwrite/comment-page-1/#comment-16288</link>
		<dc:creator>Marc Gregoire</dc:creator>
		<pubDate>Sat, 30 Jan 2010 09:00:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.nuonsoft.com/blog/?p=240#comment-16288</guid>
		<description>Are you sure, because a DIP or Device Independent Pixel is defined as 1/96 of an inch and a point is 1/72 of an inch.</description>
		<content:encoded><![CDATA[<p>Are you sure, because a DIP or Device Independent Pixel is defined as 1/96 of an inch and a point is 1/72 of an inch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith</title>
		<link>http://www.nuonsoft.com/blog/2009/05/27/introduction-to-directwrite/comment-page-1/#comment-16260</link>
		<dc:creator>Keith</dc:creator>
		<pubDate>Fri, 29 Jan 2010 18:39:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.nuonsoft.com/blog/?p=240#comment-16260</guid>
		<description>Note that the ConvertPointSizeToDIP should take into account the system dpi setting.
It assumes 96 dpi which is not guaranteed.

The ID2D1RenderTarget has a GetDpi(FLOAT*dpiX,FLOAT*dpiY).
Here you should use the dpiY in the calc rather than the 96 value.</description>
		<content:encoded><![CDATA[<p>Note that the ConvertPointSizeToDIP should take into account the system dpi setting.<br />
It assumes 96 dpi which is not guaranteed.</p>
<p>The ID2D1RenderTarget has a GetDpi(FLOAT*dpiX,FLOAT*dpiY).<br />
Here you should use the dpiY in the calc rather than the 96 value.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kurt</title>
		<link>http://www.nuonsoft.com/blog/2009/05/27/introduction-to-directwrite/comment-page-1/#comment-11891</link>
		<dc:creator>Kurt</dc:creator>
		<pubDate>Tue, 15 Sep 2009 13:41:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.nuonsoft.com/blog/?p=240#comment-11891</guid>
		<description>How simple, I just found:
RenderTarget-&gt;SetTextAntialiasMode(D2D1_TEXT_ANTIALIAS_MODE_ALIASED);

Using this setting the font will be thin.</description>
		<content:encoded><![CDATA[<p>How simple, I just found:<br />
RenderTarget-&gt;SetTextAntialiasMode(D2D1_TEXT_ANTIALIAS_MODE_ALIASED);</p>
<p>Using this setting the font will be thin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kurt</title>
		<link>http://www.nuonsoft.com/blog/2009/05/27/introduction-to-directwrite/comment-page-1/#comment-11890</link>
		<dc:creator>Kurt</dc:creator>
		<pubDate>Tue, 15 Sep 2009 13:22:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.nuonsoft.com/blog/?p=240#comment-11890</guid>
		<description>Hello, 

is there a possibility to switch off all anti-aliasing and cleartype?

I only know RenderTarget-&gt;SetAntialiasMode(D2D1_ANTIALIAS_MODE_ALIASED) 
...but this only works when drawing lines, not for Fonts.

I would be nice to have a solution.

Thank you,
Kurt</description>
		<content:encoded><![CDATA[<p>Hello, </p>
<p>is there a possibility to switch off all anti-aliasing and cleartype?</p>
<p>I only know RenderTarget-&gt;SetAntialiasMode(D2D1_ANTIALIAS_MODE_ALIASED)<br />
&#8230;but this only works when drawing lines, not for Fonts.</p>
<p>I would be nice to have a solution.</p>
<p>Thank you,<br />
Kurt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc Gregoire</title>
		<link>http://www.nuonsoft.com/blog/2009/05/27/introduction-to-directwrite/comment-page-1/#comment-8239</link>
		<dc:creator>Marc Gregoire</dc:creator>
		<pubDate>Sun, 14 Jun 2009 09:37:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.nuonsoft.com/blog/?p=240#comment-8239</guid>
		<description>At the moment I don&#039;t have any idea how to enable printing in Direct2D.
Maybe it&#039;s possible to use ID2D1DCRenderTarget instead of ID2D1HwndRenderTarget to do this.
I might look into this further if I find some time.
Or if anyone else has an idea, feel free to let us know.</description>
		<content:encoded><![CDATA[<p>At the moment I don&#8217;t have any idea how to enable printing in Direct2D.<br />
Maybe it&#8217;s possible to use ID2D1DCRenderTarget instead of ID2D1HwndRenderTarget to do this.<br />
I might look into this further if I find some time.<br />
Or if anyone else has an idea, feel free to let us know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Schmidt</title>
		<link>http://www.nuonsoft.com/blog/2009/05/27/introduction-to-directwrite/comment-page-1/#comment-8224</link>
		<dc:creator>Thomas Schmidt</dc:creator>
		<pubDate>Sat, 13 Jun 2009 22:15:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.nuonsoft.com/blog/?p=240#comment-8224</guid>
		<description>Marc,
do you have any idea how to print the same page (without copying a bitmap..)?
I fear printing needs a completely separate code path (xps, gdi or gdi+) and might give a different result.
Regards,
Thomas</description>
		<content:encoded><![CDATA[<p>Marc,<br />
do you have any idea how to print the same page (without copying a bitmap..)?<br />
I fear printing needs a completely separate code path (xps, gdi or gdi+) and might give a different result.<br />
Regards,<br />
Thomas</p>
]]></content:encoded>
	</item>
</channel>
</rss>

