<?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>クデラボ -KudeLab- &#187; Text Layout Framework</title>
	<atom:link href="http://kudelab.com/archives/tag/text-layout-framework/feed" rel="self" type="application/rss+xml" />
	<link>http://kudelab.com</link>
	<description>kudeの運営するサービスの情報や、主に開発周りの話題を発信するサイト</description>
	<lastBuildDate>Mon, 05 Oct 2009 09:55:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Text Layout Framework のバグ？</title>
		<link>http://kudelab.com/archives/352</link>
		<comments>http://kudelab.com/archives/352#comments</comments>
		<pubDate>Thu, 18 Jun 2009 08:43:08 +0000</pubDate>
		<dc:creator>kude</dc:creator>
				<category><![CDATA[Flash/AIR/Flex]]></category>
		<category><![CDATA[Text Layout Framework]]></category>

		<guid isPermaLink="false">http://kudelab.com/?p=352</guid>
		<description><![CDATA[Text Layout Framework が知らぬ間にバージョンアップしているではないか！
と気がついて、さっそく差し替えてみました。
クラスやメソッドなど、ところどころ変わっているようですが、そのへんはドキュメント見ながら書き換えれば問題ないですね。
ドキュメントが英語なので、ちょっと面倒ですけど。
ただ、特定のフォントで、 TextFlow から flowComposer.updateAllControllers() を実行すると、以下のエラーが発生します。
undefined
	at flashx.textLayout.compose::StandardFlowComposer/internalCompose()
	at flashx.textLayout.compose::StandardFlowComposer/composeToController()
	at flashx.textLayout.compose::StandardFlowComposer/updateToController()
	at flashx.textLayout.compose::StandardFlowComposer/updateAllControllers()
これ、どうやって修正 or 回避すればいいのだろう・・・。
せめて例外の発生であれば、try-catch できるんだけどなぁ。
以前の古い Text Layout Framework （textLayout_conversion.swc, textLayout_core.swc, textLayout_edit.swc の3つに別れていた頃）で同じフォントを指定すると
Error: Error #2161: An internal error occured while laying out the text.
という例外がスルーされるので、まだ対処のしようがあるのですが。
なにか指定しているパラメータでも、悪いのかなぁ。
]]></description>
			<content:encoded><![CDATA[<p>Text Layout Framework が知らぬ間にバージョンアップしているではないか！<br />
と気がついて、さっそく差し替えてみました。</p>
<p>クラスやメソッドなど、ところどころ変わっているようですが、そのへんはドキュメント見ながら書き換えれば問題ないですね。<br />
ドキュメントが英語なので、ちょっと面倒ですけど。</p>
<p>ただ、特定のフォントで、 TextFlow から flowComposer.updateAllControllers() を実行すると、以下のエラーが発生します。</p>
<p>undefined<br />
	at flashx.textLayout.compose::StandardFlowComposer/internalCompose()<br />
	at flashx.textLayout.compose::StandardFlowComposer/composeToController()<br />
	at flashx.textLayout.compose::StandardFlowComposer/updateToController()<br />
	at flashx.textLayout.compose::StandardFlowComposer/updateAllControllers()</p>
<p>これ、どうやって修正 or 回避すればいいのだろう・・・。<br />
せめて例外の発生であれば、try-catch できるんだけどなぁ。</p>
<p>以前の古い Text Layout Framework （textLayout_conversion.swc, textLayout_core.swc, textLayout_edit.swc の3つに別れていた頃）で同じフォントを指定すると</p>
<p>Error: Error #2161: An internal error occured while laying out the text.</p>
<p>という例外がスルーされるので、まだ対処のしようがあるのですが。<br />
なにか指定しているパラメータでも、悪いのかなぁ。</p>
]]></content:encoded>
			<wfw:commentRss>http://kudelab.com/archives/352/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
