<?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: FontControl class &#8211; external font library</title>
	<atom:link href="http://blog.sitedaniel.com/2008/10/fontcontrol-class-external-font-library/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sitedaniel.com/2008/10/fontcontrol-class-external-font-library/</link>
	<description>Flash, Flex and AIR development</description>
	<lastBuildDate>Fri, 30 Jul 2010 07:57:47 -0700</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Javier Reinoso</title>
		<link>http://blog.sitedaniel.com/2008/10/fontcontrol-class-external-font-library/comment-page-1/#comment-414</link>
		<dc:creator>Javier Reinoso</dc:creator>
		<pubDate>Sun, 15 Nov 2009 02:44:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sitedaniel.com/?p=103#comment-414</guid>
		<description>Excellent code for solution load embeded fonts from external swfs in AS2:

http://www.astrodreams.com/aaa/as2_embed_and_load_external_fonts.rar</description>
		<content:encoded><![CDATA[<p>Excellent code for solution load embeded fonts from external swfs in AS2:</p>
<p><a href="http://www.astrodreams.com/aaa/as2_embed_and_load_external_fonts.rar" rel="nofollow">http://www.astrodreams.com/aaa/as2_embed_and_load_external_fonts.rar</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://blog.sitedaniel.com/2008/10/fontcontrol-class-external-font-library/comment-page-1/#comment-323</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Thu, 20 Aug 2009 08:56:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sitedaniel.com/?p=103#comment-323</guid>
		<description>Hi WoW,

I&#039;ve created a small example for you that can be downloaded from here &lt;a href=&quot;http://blog.sitedaniel.com/downloads/fontExample.zip&quot; rel=&quot;nofollow&quot;&gt;http://blog.sitedaniel.com/downloads/fontExample.zip&lt;/a&gt;

Before you recompile the font.fla, bear in mind that the font I have used might not be one that you have. If you don&#039;t have this font then obviously this example won&#039;t work once you recompile. 

I think where people can go wrong with this is using the correct names when calling the load. You must have not only the correct Linkage name, but also the actual internal font name. Flash doesn&#039;t always use the same name internally as what we see, so the best way I&#039;ve found to make sure that you&#039;re using the right name is to create an instance of the new font in your font.swf and trace the name:

var f:Font = new FontKroeger();
trace(f.fontName);

Then once you use this internal name in your load arguments it should be ok. 
I have found in the past that sometimes some foreign character sets do not get embedded using this method, and I&#039;ve had to go back to the old method of embeddeding the characters I want into a textfield on the stage, but most of the time this should do everything you need.

Cheers
Daniel</description>
		<content:encoded><![CDATA[<p>Hi WoW,</p>
<p>I&#8217;ve created a small example for you that can be downloaded from here <a href="http://blog.sitedaniel.com/downloads/fontExample.zip" rel="nofollow">http://blog.sitedaniel.com/downloads/fontExample.zip</a></p>
<p>Before you recompile the font.fla, bear in mind that the font I have used might not be one that you have. If you don&#8217;t have this font then obviously this example won&#8217;t work once you recompile. </p>
<p>I think where people can go wrong with this is using the correct names when calling the load. You must have not only the correct Linkage name, but also the actual internal font name. Flash doesn&#8217;t always use the same name internally as what we see, so the best way I&#8217;ve found to make sure that you&#8217;re using the right name is to create an instance of the new font in your font.swf and trace the name:</p>
<p>var f:Font = new FontKroeger();<br />
trace(f.fontName);</p>
<p>Then once you use this internal name in your load arguments it should be ok.<br />
I have found in the past that sometimes some foreign character sets do not get embedded using this method, and I&#8217;ve had to go back to the old method of embeddeding the characters I want into a textfield on the stage, but most of the time this should do everything you need.</p>
<p>Cheers<br />
Daniel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WoW</title>
		<link>http://blog.sitedaniel.com/2008/10/fontcontrol-class-external-font-library/comment-page-1/#comment-322</link>
		<dc:creator>WoW</dc:creator>
		<pubDate>Thu, 20 Aug 2009 07:45:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sitedaniel.com/?p=103#comment-322</guid>
		<description>Hi, somehow I don&#039;t get it to work.
Do you have a working sample file?</description>
		<content:encoded><![CDATA[<p>Hi, somehow I don&#8217;t get it to work.<br />
Do you have a working sample file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AdiHaus-Bold</title>
		<link>http://blog.sitedaniel.com/2008/10/fontcontrol-class-external-font-library/comment-page-1/#comment-296</link>
		<dc:creator>AdiHaus-Bold</dc:creator>
		<pubDate>Wed, 17 Jun 2009 06:55:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sitedaniel.com/?p=103#comment-296</guid>
		<description>fonts adi Haus Bold is requrired</description>
		<content:encoded><![CDATA[<p>fonts adi Haus Bold is requrired</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Embedded fonts that work with Flash IDE and Flex SDK - ArwidThornstrom</title>
		<link>http://blog.sitedaniel.com/2008/10/fontcontrol-class-external-font-library/comment-page-1/#comment-238</link>
		<dc:creator>Embedded fonts that work with Flash IDE and Flex SDK - ArwidThornstrom</dc:creator>
		<pubDate>Mon, 13 Apr 2009 14:07:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sitedaniel.com/?p=103#comment-238</guid>
		<description>[...] http://blog.sitedaniel.com/2008/10/fontcontrol-class-external-font-library/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://blog.sitedaniel.com/2008/10/fontcontrol-class-external-font-library/" rel="nofollow">http://blog.sitedaniel.com/2008/10/fontcontrol-class-external-font-library/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://blog.sitedaniel.com/2008/10/fontcontrol-class-external-font-library/comment-page-1/#comment-237</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Sun, 12 Apr 2009 00:40:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sitedaniel.com/?p=103#comment-237</guid>
		<description>Hi Jens,
If you are using a Mac then you will need to include the bold and italic versions of the font in your library and then use them when you need them. On a PC in the past I have used CSS and created a CSS value for the bold and italic. You can use &lt; span class=&#039;my_bold&#039; &gt;...&lt; /span &gt; as long as you have a reference to &#039;my_bold&#039; in your CSS
eg.
.my_bold {
    font-weight: bold;
}

bear in mind that italic is a font-style and not a font-weight

Here is a list of CSS properties supported by Flash
color		    : hex value only. e.g. #000000
display         : inline, block, none
font-family     : font name list
font-size  	    : number
font-style      : normal, italic
font-weight     : normal, bold
kerning         : boolean
leading         : number
letter-spacing  : number
margin-left     : number
margin-right    : number
text-align      : right, left, center, justify
text-decoration : none, underline
text-indent     : number</description>
		<content:encoded><![CDATA[<p>Hi Jens,<br />
If you are using a Mac then you will need to include the bold and italic versions of the font in your library and then use them when you need them. On a PC in the past I have used CSS and created a CSS value for the bold and italic. You can use < span class='my_bold' >&#8230;< /span > as long as you have a reference to &#8216;my_bold&#8217; in your CSS<br />
eg.<br />
.my_bold {<br />
    font-weight: bold;<br />
}</p>
<p>bear in mind that italic is a font-style and not a font-weight</p>
<p>Here is a list of CSS properties supported by Flash<br />
color		    : hex value only. e.g. #000000<br />
display         : inline, block, none<br />
font-family     : font name list<br />
font-size  	    : number<br />
font-style      : normal, italic<br />
font-weight     : normal, bold<br />
kerning         : boolean<br />
leading         : number<br />
letter-spacing  : number<br />
margin-left     : number<br />
margin-right    : number<br />
text-align      : right, left, center, justify<br />
text-decoration : none, underline<br />
text-indent     : number</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jens</title>
		<link>http://blog.sitedaniel.com/2008/10/fontcontrol-class-external-font-library/comment-page-1/#comment-234</link>
		<dc:creator>Jens</dc:creator>
		<pubDate>Thu, 09 Apr 2009 08:46:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sitedaniel.com/?p=103#comment-234</guid>
		<description>Hi Daniel,

the class is working fine. 
But I have a problem. I put in the textfield a html-formatted string.
But the bold and italic HTML-Tag does not work.  ist working fine.
I have imported the Font exact like you, when i set the checkboxes bold and italic, flash will show me the complete text in bold and italic.

How can i fix it?
Thank you very much for your help,
Jens</description>
		<content:encoded><![CDATA[<p>Hi Daniel,</p>
<p>the class is working fine.<br />
But I have a problem. I put in the textfield a html-formatted string.<br />
But the bold and italic HTML-Tag does not work.  ist working fine.<br />
I have imported the Font exact like you, when i set the checkboxes bold and italic, flash will show me the complete text in bold and italic.</p>
<p>How can i fix it?<br />
Thank you very much for your help,<br />
Jens</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://blog.sitedaniel.com/2008/10/fontcontrol-class-external-font-library/comment-page-1/#comment-224</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Tue, 24 Mar 2009 19:08:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sitedaniel.com/?p=103#comment-224</guid>
		<description>Hi sherest
Unfortunately this method doesn&#039;t work in AS2. 
There are a few ways around it though but they are more complicated and not as natural. I suggest you take at look at the CASA framework here http://casalib.org/blog/dynamic-font-loading/
Be warned though that dynamic fonts in AS2 are likely to make you frustrated!</description>
		<content:encoded><![CDATA[<p>Hi sherest<br />
Unfortunately this method doesn&#8217;t work in AS2.<br />
There are a few ways around it though but they are more complicated and not as natural. I suggest you take at look at the CASA framework here <a href="http://casalib.org/blog/dynamic-font-loading/" rel="nofollow">http://casalib.org/blog/dynamic-font-loading/</a><br />
Be warned though that dynamic fonts in AS2 are likely to make you frustrated!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sherest</title>
		<link>http://blog.sitedaniel.com/2008/10/fontcontrol-class-external-font-library/comment-page-1/#comment-220</link>
		<dc:creator>sherest</dc:creator>
		<pubDate>Tue, 24 Mar 2009 07:20:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sitedaniel.com/?p=103#comment-220</guid>
		<description>Hi! good tutorial! Appreciated!

but tell me how can i do the same in Action script 2.0

acknowledge please!.......</description>
		<content:encoded><![CDATA[<p>Hi! good tutorial! Appreciated!</p>
<p>but tell me how can i do the same in Action script 2.0</p>
<p>acknowledge please!&#8230;&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikael Engblom</title>
		<link>http://blog.sitedaniel.com/2008/10/fontcontrol-class-external-font-library/comment-page-1/#comment-218</link>
		<dc:creator>Mikael Engblom</dc:creator>
		<pubDate>Fri, 20 Mar 2009 12:55:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sitedaniel.com/?p=103#comment-218</guid>
		<description>Hi Jacob

My problem is the reversed, i have the MAC version but needs the PC version!

Maybe we can swop type!

Mikael</description>
		<content:encoded><![CDATA[<p>Hi Jacob</p>
<p>My problem is the reversed, i have the MAC version but needs the PC version!</p>
<p>Maybe we can swop type!</p>
<p>Mikael</p>
]]></content:encoded>
	</item>
</channel>
</rss>
