<?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: Simple AS3 dynamic fonts class</title>
	<atom:link href="http://agitatedobserver.com/simple-as3-dynamic-fonts-class/feed/" rel="self" type="application/rss+xml" />
	<link>http://agitatedobserver.com/simple-as3-dynamic-fonts-class/</link>
	<description>Observations from the agitated one.</description>
	<lastBuildDate>Sun, 25 Jul 2010 18:10:58 +1000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: AGI</title>
		<link>http://agitatedobserver.com/simple-as3-dynamic-fonts-class/comment-page-1/#comment-3425</link>
		<dc:creator>AGI</dc:creator>
		<pubDate>Tue, 25 Aug 2009 14:14:26 +0000</pubDate>
		<guid isPermaLink="false">http://agitatedobserver.com/?p=368#comment-3425</guid>
		<description>Additional Info:

If you are trying to embed a PFM font you might get the following compiler error: &quot;Error: exception during transcoding: Font for alias ... was not found at:&quot;

This happens as PFM is a supporting font file and not the actual font file itself.  PFB needs to be used instead as that contains the actual data.

[Embed(source=&#039;C:/windows/fonts/HLLC___.PFB&#039;,mimeType=&quot;application/x-font-truetype&quot;, fontName=&#039;hnLightCon&#039;, unicodeRange=&#039;U+0021-U+007A,U+00BB,U+00A9,U+2122,U+00AE&#039;)]  
		public static var _hnLightCon:Class;
		Font.registerFont(_hnLightCon);
		trace(&quot;Fonts:_hnLightCon LOADED&quot;);

You must also provide the mimeType or else the compiler generates the following error: &quot;Error: &#039;*.PFB&#039; does not have a recognized extension, and a mimeType was not provided&quot;</description>
		<content:encoded><![CDATA[<p>Additional Info:</p>
<p>If you are trying to embed a PFM font you might get the following compiler error: &#8220;Error: exception during transcoding: Font for alias &#8230; was not found at:&#8221;</p>
<p>This happens as PFM is a supporting font file and not the actual font file itself.  PFB needs to be used instead as that contains the actual data.</p>
<p>[Embed(source='C:/windows/fonts/HLLC___.PFB',mimeType="application/x-font-truetype", fontName='hnLightCon', unicodeRange='U+0021-U+007A,U+00BB,U+00A9,U+2122,U+00AE')]<br />
		public static var _hnLightCon:Class;<br />
		Font.registerFont(_hnLightCon);<br />
		trace(&#8221;Fonts:_hnLightCon LOADED&#8221;);</p>
<p>You must also provide the mimeType or else the compiler generates the following error: &#8220;Error: &#8216;*.PFB&#8217; does not have a recognized extension, and a mimeType was not provided&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
