<?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: Using embedded fonts with the Panel container in Flex</title>
	<atom:link href="http://blog.flexexamples.com/2008/02/28/using-embedded-fonts-with-the-panel-container-in-flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2008/02/28/using-embedded-fonts-with-the-panel-container-in-flex/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sun, 12 Feb 2012 14:19:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Biran</title>
		<link>http://blog.flexexamples.com/2008/02/28/using-embedded-fonts-with-the-panel-container-in-flex/comment-page-1/#comment-10154</link>
		<dc:creator>Biran</dc:creator>
		<pubDate>Fri, 11 Nov 2011 11:52:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/02/28/using-embedded-fonts-with-the-panel-container-in-flex/#comment-10154</guid>
		<description>helpful article, now embedded fonts can display in my photoshop panel, but having problem when i tried to assign that font in photoshop text layer.

Please suggest so that my embedded font will also render in photoshop active text layer.

Biran</description>
		<content:encoded><![CDATA[<p>helpful article, now embedded fonts can display in my photoshop panel, but having problem when i tried to assign that font in photoshop text layer.</p>
<p>Please suggest so that my embedded font will also render in photoshop active text layer.</p>
<p>Biran</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan Moore</title>
		<link>http://blog.flexexamples.com/2008/02/28/using-embedded-fonts-with-the-panel-container-in-flex/comment-page-1/#comment-7451</link>
		<dc:creator>Alan Moore</dc:creator>
		<pubDate>Wed, 07 Apr 2010 18:53:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/02/28/using-embedded-fonts-with-the-panel-container-in-flex/#comment-7451</guid>
		<description>Thanks so much for this.  I had embedded a font as a SWF file and the only place it wasn&#039;t working was the titles of the panels in my app. The hardest thing about Flex has been the custom CSS - terribly confusing after 5 years of CSS for HTML!</description>
		<content:encoded><![CDATA[<p>Thanks so much for this.  I had embedded a font as a SWF file and the only place it wasn&#8217;t working was the titles of the panels in my app. The hardest thing about Flex has been the custom CSS &#8211; terribly confusing after 5 years of CSS for HTML!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2008/02/28/using-embedded-fonts-with-the-panel-container-in-flex/comment-page-1/#comment-2650</link>
		<dc:creator>peterd</dc:creator>
		<pubDate>Mon, 25 Aug 2008 15:27:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/02/28/using-embedded-fonts-with-the-panel-container-in-flex/#comment-2650</guid>
		<description>Benjamin,

I wasn&#039;t able to figure out the local font name for Verdana Bold, but the following example shows how you can embed the file from your C:\WINDOWS\Fonts\ directory (which may need tweaking based on your OS/install -- or you can just copy the verdanab.TTF font into your Flex project):

&lt;pre class=&quot;code&quot;&gt;
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;
        layout=&quot;horizontal&quot;&gt;

    &lt;mx:Style&gt;
        @font-face {
            src: url(&quot;C:/WINDOWS/Fonts/verdanab.TTF&quot;);
            fontFamily: VerdanaBoldEmbedded;
            fontWeight: bold;
        }

        @font-face {
            src: local(&quot;Verdana&quot;);
            fontFamily: VerdanaNormalEmbedded;
        }

        @font-face {
            src: local(&quot;Verdana&quot;);
            fontFamily: VerdanaNormalBoldEmbedded;
            fontWeight: bold;
        }

        .verdanaBoldBoldTitle {
            fontFamily: VerdanaBoldEmbedded;
            fontWeight: bold;
        }

        .verdanaNormalTitle {
            fontFamily: VerdanaNormalEmbedded;
            fontWeight: normal;
        }

        .verdanaNormalBoldTitle {
            fontFamily: VerdanaNormalBoldEmbedded;
            fontWeight: bold;
        }
    &lt;/mx:Style&gt;

    &lt;mx:Panel title=&quot;Verdana Bold Test&quot;
            titleStyleName=&quot;verdanaBoldBoldTitle&quot;
            width=&quot;33%&quot;
            height=&quot;100&quot;&gt;
        &lt;mx:Label text=&quot;Verdana Bold bold&quot; /&gt;
    &lt;/mx:Panel&gt;

    &lt;mx:Panel title=&quot;Verdana Normal Test&quot;
            titleStyleName=&quot;verdanaNormalTitle&quot;
            width=&quot;33%&quot;
            height=&quot;100&quot;&gt;
        &lt;mx:Label text=&quot;Verdana normal&quot; /&gt;
    &lt;/mx:Panel&gt;

    &lt;mx:Panel title=&quot;Verdana Normal Test (w/ bold)&quot;
            titleStyleName=&quot;verdanaNormalBoldTitle&quot;
            width=&quot;33%&quot;
            height=&quot;100&quot;&gt;
        &lt;mx:Label text=&quot;Verdana bold&quot; /&gt;
    &lt;/mx:Panel&gt;

&lt;/mx:Application&gt;
&lt;/pre&gt;

Peter</description>
		<content:encoded><![CDATA[<p>Benjamin,</p>
<p>I wasn&#8217;t able to figure out the local font name for Verdana Bold, but the following example shows how you can embed the file from your C:\WINDOWS\Fonts\ directory (which may need tweaking based on your OS/install &#8212; or you can just copy the verdanab.TTF font into your Flex project):</p>
<pre class="code">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="horizontal"&gt;

    &lt;mx:Style&gt;
        @font-face {
            src: url("C:/WINDOWS/Fonts/verdanab.TTF");
            fontFamily: VerdanaBoldEmbedded;
            fontWeight: bold;
        }

        @font-face {
            src: local("Verdana");
            fontFamily: VerdanaNormalEmbedded;
        }

        @font-face {
            src: local("Verdana");
            fontFamily: VerdanaNormalBoldEmbedded;
            fontWeight: bold;
        }

        .verdanaBoldBoldTitle {
            fontFamily: VerdanaBoldEmbedded;
            fontWeight: bold;
        }

        .verdanaNormalTitle {
            fontFamily: VerdanaNormalEmbedded;
            fontWeight: normal;
        }

        .verdanaNormalBoldTitle {
            fontFamily: VerdanaNormalBoldEmbedded;
            fontWeight: bold;
        }
    &lt;/mx:Style&gt;

    &lt;mx:Panel title="Verdana Bold Test"
            titleStyleName="verdanaBoldBoldTitle"
            width="33%"
            height="100"&gt;
        &lt;mx:Label text="Verdana Bold bold" /&gt;
    &lt;/mx:Panel&gt;

    &lt;mx:Panel title="Verdana Normal Test"
            titleStyleName="verdanaNormalTitle"
            width="33%"
            height="100"&gt;
        &lt;mx:Label text="Verdana normal" /&gt;
    &lt;/mx:Panel&gt;

    &lt;mx:Panel title="Verdana Normal Test (w/ bold)"
            titleStyleName="verdanaNormalBoldTitle"
            width="33%"
            height="100"&gt;
        &lt;mx:Label text="Verdana bold" /&gt;
    &lt;/mx:Panel&gt;

&lt;/mx:Application&gt;
</pre>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benjamin</title>
		<link>http://blog.flexexamples.com/2008/02/28/using-embedded-fonts-with-the-panel-container-in-flex/comment-page-1/#comment-2649</link>
		<dc:creator>Benjamin</dc:creator>
		<pubDate>Mon, 25 Aug 2008 09:51:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/02/28/using-embedded-fonts-with-the-panel-container-in-flex/#comment-2649</guid>
		<description>I had the problem that all of a sudden in my panel title single chars disappeared. As I had seen similar things with flash I suspected an embedding problem and it seems I am right. With your tutorial I got it properly displayed again. So thanks for that.
Some problem unfortunately remains. I want to use a bold verdana but when I use font-weight: bold it just looks awful. I tried to embed the bold verdana version itself but can´t figure out the right name... i.e. &#039;src:local(&quot;Verdana Bold&quot;);&#039; doesn´t work.

Any Ideas?</description>
		<content:encoded><![CDATA[<p>I had the problem that all of a sudden in my panel title single chars disappeared. As I had seen similar things with flash I suspected an embedding problem and it seems I am right. With your tutorial I got it properly displayed again. So thanks for that.<br />
Some problem unfortunately remains. I want to use a bold verdana but when I use font-weight: bold it just looks awful. I tried to embed the bold verdana version itself but can´t figure out the right name&#8230; i.e. &#8216;src:local(&#8220;Verdana Bold&#8221;);&#8217; doesn´t work.</p>
<p>Any Ideas?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

