<?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>残酷の青春 &#187; flex</title>
	<atom:link href="http://www.cruelyouth.com/tags/flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cruelyouth.com</link>
	<description>journey continues</description>
	<lastBuildDate>Tue, 17 Jan 2012 06:53:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>flash/flex中中文字体的缺陷</title>
		<link>http://www.cruelyouth.com/2008/08/04/flashflex%e4%b8%ad%e4%b8%ad%e6%96%87%e5%ad%97%e4%bd%93%e7%9a%84%e7%bc%ba%e9%99%b7/</link>
		<comments>http://www.cruelyouth.com/2008/08/04/flashflex%e4%b8%ad%e4%b8%ad%e6%96%87%e5%ad%97%e4%bd%93%e7%9a%84%e7%bc%ba%e9%99%b7/#comments</comments>
		<pubDate>Mon, 04 Aug 2008 03:05:35 +0000</pubDate>
		<dc:creator>Mars</dc:creator>
				<category><![CDATA[全部]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[中文问题]]></category>

		<guid isPermaLink="false">http://www.cruelyouth.com/?p=131</guid>
		<description><![CDATA[首先，在flex中想使用设备字体不管用，但是发现在flash中画出一个textfield是可以使用如华文彩云这样的字体的，于是用flash做了一个导出类，放在flex中作为组件，但是发现，这个textfield如果在制作时把初始字体设置为宋体，则在运行中也可以使用中文设备字体，但是这时英文字体就失效，如果把初始字体设置为Arial等英文字体，则中文字体又不管用了。。所以目前想用设备字体达到效果可能还不太靠谱，还是老老实实用嵌入字体吧。。我现在的方法是，通过把样式表文件编译成swf，然后再通过StyleManager.loadStyleDeclarations方法动态加载外部样式。谁还有更好的解决办法么。]]></description>
			<content:encoded><![CDATA[<p>首先，在flex中想使用设备字体不管用，但是发现在flash中画出一个textfield是可以使用如华文彩云这样的字体的，于是用flash做了一个导出类，放在flex中作为组件，但是发现，这个textfield如果在制作时把初始字体设置为宋体，则在运行中也可以使用中文设备字体，但是这时英文字体就失效，如果把初始字体设置为Arial等英文字体，则中文字体又不管用了。。所以目前想用设备字体达到效果可能还不太靠谱，还是老老实实用嵌入字体吧。。我现在的方法是，通过把样式表文件编译成swf，然后再通过StyleManager.loadStyleDeclarations方法动态加载外部样式。谁还有更好的解决办法么。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cruelyouth.com/2008/08/04/flashflex%e4%b8%ad%e4%b8%ad%e6%96%87%e5%ad%97%e4%bd%93%e7%9a%84%e7%bc%ba%e9%99%b7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

