<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : How to disable font smoothing</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : How to disable font smoothing]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 04 Jun 2026 03:05:56 +0000</pubDate>
  <lastBuildDate>Tue, 02 Aug 2016 03:55:32 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=23083</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[How to disable font smoothing : Found it by digging through the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23083&amp;PID=74928&amp;title=how-to-disable-font-smoothing#74928</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2724">SvenC</a><br /><strong>Subject:</strong> 23083<br /><strong>Posted:</strong> 02 August 2016 at 3:55am<br /><br />Found it by digging through the code:<div><br></div><div>In my paint manager impl I get the current LOGFONT, set its lfQuality member and apply that font.</div><div><br></div><div><div>&nbsp; &nbsp; if(m_fontCaption.GetLogFont(&amp;lf))</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; lf.lfQuality = NONANTIALIASED_QUALITY;</div><div>&nbsp; &nbsp; &nbsp; SetCaptionFont(lf);</div><div>&nbsp; &nbsp; &nbsp; SetTextFont(lf);</div><div>&nbsp; &nbsp; }</div></div><div><br></div><div>Would be nice if the draw helper class could use some global state and not IsClearTypeTextQualitySupported to control this:</div><div><br></div><div><div>BOOL CXTPDrawHelpers::GetIconLogFont(LOGFONT* pLogFont)</div><div>{</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>ASSERT(pLogFont);</div><div><span ="Apple-tab-span" style="white-space:pre">	</span></div><div><span ="Apple-tab-span" style="white-space:pre">	</span>if (!pLogFont)</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>return FALSE;</div><div><br></div><div><span ="Apple-tab-span" style="white-space:pre">	</span>::ZeroMemory(pLogFont, sizeof(LOGFONT));</div><div><br></div><div><span ="Apple-tab-span" style="white-space:pre">	</span>if (::SystemParametersInfo(SPI_GETICONTITLELOGFONT, sizeof(LOGFONT), pLogFont, 0))</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>{</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>if (XTPSystemVersion()-&gt;IsClearTypeTextQualitySupported())</div><div><span ="Apple-tab-span" style="white-space:pre">			</span>pLogFont-&gt;lfQuality = CLEARTYPE_QUALITY;</div><div><br></div><div><span ="Apple-tab-span" style="white-space:pre">		</span>pLogFont-&gt;lfCharSet = XTPResourceManager()-&gt;GetFontCharset();</div><div><br></div><div><span ="Apple-tab-span" style="white-space:pre">		</span>return TRUE;</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>}</div><div><br></div><div><span ="Apple-tab-span" style="white-space:pre">	</span>return FALSE;</div><div>}</div></div><div><br></div>]]>
   </description>
   <pubDate>Tue, 02 Aug 2016 03:55:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23083&amp;PID=74928&amp;title=how-to-disable-font-smoothing#74928</guid>
  </item> 
  <item>
   <title><![CDATA[How to disable font smoothing : I would like to control font smoothing...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23083&amp;PID=74927&amp;title=how-to-disable-font-smoothing#74927</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2724">SvenC</a><br /><strong>Subject:</strong> 23083<br /><strong>Posted:</strong> 02 August 2016 at 3:15am<br /><br />I would like to control font smoothing / anti-aliasing of the text in the toolkit controls.<div><br></div><div>Preferred would be that the system setting for font smoothing (Advanced System Settings &gt; Performance Settings &gt; "Smooth edged of screen fonts") would be used so that standard controls like window menus and Toolkit controls use the same way to display font.</div><div><br></div><div>How can I control text anti aliasing?</div>]]>
   </description>
   <pubDate>Tue, 02 Aug 2016 03:15:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23083&amp;PID=74927&amp;title=how-to-disable-font-smoothing#74927</guid>
  </item> 
 </channel>
</rss>