<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Alexandru Dinulescu&#039;s Thoughts&#187; cleartype</title>
	<atom:link href="http://alexdweb.com/blog/tag/cleartype/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexdweb.com/blog</link>
	<description>This blog is about everything/anything related to XHTML/CSS and of course my favourite js library, jQuery.</description>
	<lastBuildDate>Thu, 09 Dec 2010 12:04:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>jQuery IE and ClearType Problem</title>
		<link>http://alexdweb.com/blog/2009/11/25/jquery-ie-and-cleartype-problem/</link>
		<comments>http://alexdweb.com/blog/2009/11/25/jquery-ie-and-cleartype-problem/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 12:45:22 +0000</pubDate>
		<dc:creator>Dinulescu Alexandru Adrian</dc:creator>
				<category><![CDATA[IE6 Bugs]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[cleartype]]></category>
		<category><![CDATA[IE Bugs]]></category>

		<guid isPermaLink="false">http://alexdweb.com/blog/?p=107</guid>
		<description><![CDATA[Hello Did it happen that when you use an animation such as fadeIn&#40;&#41;/fadeOut&#40;&#41; on a LCD screen, that has windows cleratype on (this happens automatically in windows vista+ but can be set on and off in windows XP), on IE (all versions), the text is not antialised anymore. This is due to the filter attribute [...]]]></description>
			<content:encoded><![CDATA[<p> Hello </p>
<p> Did it happen that when you use an animation such as <code class="codecolorer javascript default"><span class="javascript">fadeIn<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">/</span>fadeOut<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span></span></code> on a LCD screen, that has windows cleratype on (this happens automatically in windows vista+ but can be set on and off in windows XP), on <acronym title="Internet Explorer">IE</acronym> (all versions), the text is not antialised anymore. This is due to the filter attribute <acronym title="Internet Explorer">IE</acronym> browsers use to make the cleartype/stuff. </p>
<p> The solution is relatively simple, like putting a function callback on the <code class="codecolorer javascript default"><span class="javascript">fade <span style="color: #000066; font-weight: bold;">in</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">/</span>fadeOut<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span></span></code> such as: </p>
<h3> JQuery Code </h3>
<div class="codecolorer-container javascript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp;$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.element&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">fadeIn</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">removeAttr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;filtered&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp;<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p> It&#8217;s not a perfect solution, and it may be a bit laggy and you can still SEE THE TEXT BEING CLEARTYPED, but at least it wont stay without cleartype and look like shit. Also this is the only way to do it until jQuery incorporates it&#8217;s own fix to counter <acronym title="Internet Explorer">IE</acronym>&#8216;s behavior.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexdweb.com/blog/2009/11/25/jquery-ie-and-cleartype-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

