<?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>Thanks, Mister! &#187; Font</title>
	<atom:link href="http://www.thanksmister.com/index.php/archive/category/font/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thanksmister.com</link>
	<description>Flash &#38; Flex Developer</description>
	<lastBuildDate>Mon, 06 Sep 2010 23:10:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Adobe AIR Runtime Font Differences</title>
		<link>http://www.thanksmister.com/index.php/archive/adobe-air-runtime-font-differences/</link>
		<comments>http://www.thanksmister.com/index.php/archive/adobe-air-runtime-font-differences/#comments</comments>
		<pubDate>Sat, 07 Feb 2009 02:18:27 +0000</pubDate>
		<dc:creator>Mister</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Font]]></category>
		<category><![CDATA[Flex Builder 3]]></category>

		<guid isPermaLink="false">http://thanksmister.com/?p=355</guid>
		<description><![CDATA[This was a heck of a problem to discover and even worse to try to figure out why. Sadly, I did not find a good solution the problem. I will give the short and sweet rundown of the issue. You have three different machines, three different operating system, the same version of Flex Builder (3.0.2), [...]]]></description>
			<content:encoded><![CDATA[<p>This was a heck of a problem to discover and even worse to try to figure out why. Sadly, I did not find a good solution the problem.  I will give the short and sweet rundown of the issue.  You have three different machines, three different operating system, the same version of Flex Builder (3.0.2), and the same code base.   Now you would think that when you create a release version of an AIR application on one machine, then deploy it on another, you would get consistent results.   However, we experienced that an AIR file created one Windows environment was different from the AIR file created on another Windows environment and a Mac machine.   The difference was visible with the fonts displayed in the application.</p>
<p>I have to be clear about this part, because first you might think that the fonts are rendered differently on each machine because we didn&#8217;t embed the font within the application.  So you would see different fonts on a Mac or from one PC to another.  That would be a good guess, but you would be wrong.  I have running on my Mac three copies of our AIR application (app_1.air, app_2.air, app_3.air), running side-by-side at the same time on the same screen. All three applications compiled form the same exact code base, but from different machines (two PC&#8217;s and one Mac).   </p>
<p><span id="more-355"></span></p>
<p>One version of the application shows clearly readable fonts, the others two applicaions show thinner more jaggy fonts with some color differences.   The most significant differences are displayed with italic text and text on fonts.  I couldn&#8217;t believe it myself, but I have a screen shot to prove it.  Below you can see all three  applications.  The screen shot was taken of the applications side-by-side and then changed in Photoshop for better display on the blog page (vertical instead of horizontal).  You will notice that one has better looking text, thicker, richer colors, and just more readable. The other two are <del datetime="2009-02-07T21:33:44+00:00">crap</del>, well, not as readable, especially the button text and the italic text. </p>
<p><strong>Image</strong></p>
<p><img alt="" src="http://farm4.static.flickr.com/3345/3258727225_19c4a9d427_o.png" title="Font Issue AIR" class="alignnone" width="660" height="430" /></p>
<p>The middle application clearly has the best displayed fonts, even though they are all running on the same exact machine, there is noticeable display differences. The only difference is the machine that compiled each AIR file.  The font on the tabs is thicker for the middle one, the button fonts are clearer and thicker for the middle one, and the italic font is more readable.    I don&#8217;t know how to fix this issue, embedding fonts did not work, installing the same fonts on each machine didn&#8217;t work, nothing helped!  Why do some machines produce a better quality AIR file while others produce jaggy text?   I couldn&#8217;t find any information on this problem, so please let me know if anyone has any solution.</p>
<p><strong>UPDATE</strong></p>
<p>If you run your AIR package on a Windows machine with &#8220;clear type&#8221; turned on, then it actually produces better fonts.  This makes all three applications look identical on a PC, but with clear type off, then only one of the applications looks good.   The application generated on the Mac, and generated on the PC with clear Type on, still look the degraded when compared to the middle application.</p>
<p>The best solution I could find to have a consistent look for the AIR application when created from different computers is to embed fonts within the application.  Still does not solve the reason why there was a difference, but it does offer a temporary solution.  For more information on embedding fonts check out <a href="http://livedocs.adobe.com/flex/3/html/help.html?content=fonts_05.html">Adobe docs on the topic</a>.</p>
<p>- Mister</p>
<p><map name='google_ad_map_355_1452acacd61817fb'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/355?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_355_1452acacd61817fb' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=355&amp;url= http%3A%2F%2Fwww.thanksmister.com%2Findex.php%2Farchive%2Fadobe-air-runtime-font-differences%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://www.thanksmister.com/index.php/archive/adobe-air-runtime-font-differences/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
