<?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>中文Flex例子 &#187; 字体</title>
	<atom:link href="http://blog.minidx.com/tag/%e5%ad%97%e4%bd%93/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.minidx.com</link>
	<description>中文Adobe Flex例子,Flex实例教程,RIA资源,全文检索技术,算法和数据结构</description>
	<lastBuildDate>Thu, 31 Mar 2011 03:22:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Flex中如何用local()函数代替src()嵌入字体的例子</title>
		<link>http://blog.minidx.com/2008/10/16/1534.html</link>
		<comments>http://blog.minidx.com/2008/10/16/1534.html#comments</comments>
		<pubDate>Thu, 16 Oct 2008 12:02:16 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Font]]></category>
		<category><![CDATA[@font face]]></category>
		<category><![CDATA[local()]]></category>
		<category><![CDATA[字体]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=1534</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何用local()函数代替src()嵌入字体。
让我们先来看一下Demo（可以右键View Source或点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application&#160;xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; layout=&#34;vertical&#34;
&#160; &#160; &#160; &#160; verticalAlign=&#34;middle&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;
&#160; &#160; &#160; &#160; applicationComplete=&#34;init();&#34;&#62;
&#160;
&#160; &#160; &#60;mx:Style&#62;
&#160; &#160; &#160; &#160; @font-face {
&#160; &#160; &#160; &#160; &#160; &#160; src:local(&#34;Arial&#34;);
&#160; &#160; &#160; &#160; &#160; &#160; fontFamily: ArialEmbedded;
&#160; &#160; &#160; &#160; }
&#160;
&#160; &#160; &#160; &#160; @font-face {
&#160; &#160; &#160; &#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/10/16/1534.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flex中如何通过调用Font.enumerateFonts函数判断系统中安装了哪些字体的例子</title>
		<link>http://blog.minidx.com/2008/09/02/1346.html</link>
		<comments>http://blog.minidx.com/2008/09/02/1346.html#comments</comments>
		<pubDate>Mon, 01 Sep 2008 16:45:59 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[enumerateFonts]]></category>
		<category><![CDATA[Font]]></category>
		<category><![CDATA[字体]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/2008/09/02/1346.html</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何通过调用Font.enumerateFonts函数，判断系统中安装了哪些字体。enumerateFonts函数将会返回一个字体对象的数组。
让我们先来看一下Demo（可以右键View Source或点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application&#160;xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; layout=&#34;vertical&#34;
&#160; &#160; &#160; &#160; verticalAlign=&#34;middle&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;
&#160; &#160; &#160; &#160; creationComplete=&#34;init()&#34;&#62;
&#160;
&#160; &#160; &#60;mx:Script&#62;
&#160; &#160; &#160; &#160; &#60;![CDATA[
&#160; &#160; &#160; &#160; &#160; &#160; import flash.text.Font;
&#160;
&#160; &#160; &#160; &#160; &#160; &#160; private function init():void {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; arr = Font.enumerateFonts(true);
&#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/09/02/1346.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中通过fontSharpness和fontAntiAliasType样式设置标签（Label）字体锐角程度的例子</title>
		<link>http://blog.minidx.com/2008/08/22/1297.html</link>
		<comments>http://blog.minidx.com/2008/08/22/1297.html#comments</comments>
		<pubDate>Fri, 22 Aug 2008 11:50:19 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[fontAntiAliasType]]></category>
		<category><![CDATA[fontSharpness]]></category>
		<category><![CDATA[Label]]></category>
		<category><![CDATA[字体]]></category>
		<category><![CDATA[标签]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/2008/08/22/1297.html</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何通过fontSharpness和fontAntiAliasType样式，设置标签（Label）字体锐角程度。
让我们先来看一下Demo（可以右键View Source或点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application&#160;name=&#34;Label_fontSharpness_test&#34;
&#160; &#160; &#160; &#160; xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; layout=&#34;vertical&#34;
&#160; &#160; &#160; &#160; verticalAlign=&#34;middle&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;&#62;
&#160;
&#160; &#160; &#60;mx:Style&#62;
&#160; &#160; &#160; &#160; @font-face {
&#160; &#160; &#160; &#160; &#160; &#160; src: local(&#34;Arial&#34;);
&#160; &#160; &#160; &#160; &#160; &#160; fontFamily: ArialEmbedded;
&#160; &#160; &#160; &#160; }
&#160;
&#160; &#160; &#160; &#160; @font-face {
&#160; &#160; &#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/08/22/1297.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中通过设置嵌入字体以及替换默认Skin自定义Button风格的例子</title>
		<link>http://blog.minidx.com/2008/08/16/1261.html</link>
		<comments>http://blog.minidx.com/2008/08/16/1261.html#comments</comments>
		<pubDate>Sat, 16 Aug 2008 12:55:14 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[@font face]]></category>
		<category><![CDATA[Button]]></category>
		<category><![CDATA[embedFonts]]></category>
		<category><![CDATA[字体]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/2008/08/16/1261.html</guid>
		<description><![CDATA[接下来的例子演示了Flex中通过设置嵌入字体以及替换默认Skin，自定义Button风格。
让我们先来看一下Demo（可以右键View Source或点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application&#160;xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; applicationComplete=&#34;init()&#34;
&#160; &#160; layout=&#34;vertical&#34;
&#160; &#160; verticalAlign=&#34;middle&#34;
&#160; &#160; backgroundColor=&#34;white&#34;&#62;
&#160;
&#160; &#160; &#60;mx:String&#160;id=&#34;fileName&#34; /&#62;
&#160; &#160; &#60;mx:String&#160;id=&#34;fileSize&#34; /&#62;
&#160;
&#160; &#160; &#60;mx:Script&#62;
&#160; &#160; &#160; &#160; &#60;![CDATA[
&#160; &#160; &#160; &#160; &#160; &#160; private function init():void {
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; var appInfo:LoaderInfo = Application.application.loaderInfo;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; /* Just grab [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/08/16/1261.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flex中利用自定义项提供源在ComboBox下拉菜单中显示不同字体的例子</title>
		<link>http://blog.minidx.com/2008/08/01/1201.html</link>
		<comments>http://blog.minidx.com/2008/08/01/1201.html#comments</comments>
		<pubDate>Fri, 01 Aug 2008 12:56:57 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[ComboBox]]></category>
		<category><![CDATA[Component]]></category>
		<category><![CDATA[dropdown]]></category>
		<category><![CDATA[fontFamily]]></category>
		<category><![CDATA[itemRenderer]]></category>
		<category><![CDATA[字体]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/2008/08/01/1201.html</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何利用自定义项提供源，在ComboBox下拉菜单中显示不同字体。
让我们先来看一下Demo（可以右键View Source或点击这里察看源代码）：









下面是完整实现代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application&#160;xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; layout=&#34;vertical&#34;
&#160; &#160; &#160; &#160; verticalAlign=&#34;top&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;&#62;
&#160;
&#160; &#160; &#60;mx:ArrayCollection&#160;id=&#34;arrColl&#34;
&#160; &#160; &#160; &#160; &#160; &#160; source=&#34;{Font.enumerateFonts(true)}&#34;&#62;
&#160; &#160; &#160; &#160; &#60;mx:sort&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#60;mx:Sort&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#60;mx:fields&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#60;mx:SortField&#160;name=&#34;fontName&#34; /&#62;
&#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2008/08/01/1201.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 2/33 queries in 0.026 seconds using disk
Object Caching 419/824 objects using disk

Served from: blog.minidx.com @ 2012-02-10 00:59:26 -->
