<?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: Text Layout Framework API update</title>
	<atom:link href="http://cameronyule.com/2009/06/text-layout-framework-api-update/feed" rel="self" type="application/rss+xml" />
	<link>http://cameronyule.com/2009/06/text-layout-framework-api-update</link>
	<description>Glasgow based new media developer Cameron Yule.</description>
	<lastBuildDate>Fri, 11 Jun 2010 16:33:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Arvind Mehta</title>
		<link>http://cameronyule.com/2009/06/text-layout-framework-api-update/comment-page-1#comment-428</link>
		<dc:creator>Arvind Mehta</dc:creator>
		<pubDate>Mon, 16 Nov 2009 07:02:57 +0000</pubDate>
		<guid isPermaLink="false">http://cameronyule.com/?p=585#comment-428</guid>
		<description>Hi Ben,
 if u want to peserve the whitespace then use this property of textLayout Framework.


textFlow.whiteSpaceCollapse = WhiteSpaceCollapse.PRESERVE

Hope it solve your problem.
thanx</description>
		<content:encoded><![CDATA[<p>Hi Ben,<br />
 if u want to peserve the whitespace then use this property of textLayout Framework.</p>
<p>textFlow.whiteSpaceCollapse = WhiteSpaceCollapse.PRESERVE</p>
<p>Hope it solve your problem.<br />
thanx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://cameronyule.com/2009/06/text-layout-framework-api-update/comment-page-1#comment-425</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Mon, 19 Oct 2009 06:19:30 +0000</pubDate>
		<guid isPermaLink="false">http://cameronyule.com/?p=585#comment-425</guid>
		<description>Hi Cameron,

Sorry to post this here but I couldn&#039;t see any other way to contact you.

I am having an issue with whitespace disappearing at  boundaries. ie. if i have:
Hello world then make it:
Hello World using &#039;applyCharacterFormat&#039; on the &#039;hello&#039; part, it removes the whitespace so i end up with:
Helloworld

Have you come across this at all? Any suggestions on how I can fix this.</description>
		<content:encoded><![CDATA[<p>Hi Cameron,</p>
<p>Sorry to post this here but I couldn&#8217;t see any other way to contact you.</p>
<p>I am having an issue with whitespace disappearing at  boundaries. ie. if i have:<br />
Hello world then make it:<br />
Hello World using &#8216;applyCharacterFormat&#8217; on the &#8216;hello&#8217; part, it removes the whitespace so i end up with:<br />
Helloworld</p>
<p>Have you come across this at all? Any suggestions on how I can fix this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cameron</title>
		<link>http://cameronyule.com/2009/06/text-layout-framework-api-update/comment-page-1#comment-415</link>
		<dc:creator>Cameron</dc:creator>
		<pubDate>Mon, 13 Jul 2009 09:06:45 +0000</pubDate>
		<guid isPermaLink="false">http://cameronyule.com/?p=585#comment-415</guid>
		<description>Hi Neil,

While I haven&#039;t tested this, I think you could achieve what you&#039;re after by specifying the FontLookup as an attribute of the TextFlow itself (I did something similar in my &lt;a href=&quot;http://cameronyule.com/2009/02/superscript-subscript-in-text-layout-framework&quot; rel=&quot;nofollow&quot;&gt;Superscript/Subscript example&lt;/a&gt;)

&lt;pre lang=&quot;actionscript&quot;&gt;
var textInput:XML =

אבגד neil &lt;span fontFamily=&quot;YOURFONT&quot; fontLookup=&quot;FontLookup.EMBEDDED_CFF&quot;&gt;הוזחטי ךכלםמןנס עףפץצקרשתְֱֲֳִֵֶַָֹֻּֽֿׁ&lt;/span&gt;

;
&lt;/pre&gt;

While I&#039;m not too keen on that implementation - it&#039;s similar to the old HTML method of specifying type options via the font element - it&#039;s the only solution I&#039;m aware of at the moment.

Hopefully a CSS-like method will appear to make the whole process simpler in the near future.</description>
		<content:encoded><![CDATA[<p>Hi Neil,</p>
<p>While I haven&#8217;t tested this, I think you could achieve what you&#8217;re after by specifying the FontLookup as an attribute of the TextFlow itself (I did something similar in my <a href="http://cameronyule.com/2009/02/superscript-subscript-in-text-layout-framework" rel="nofollow">Superscript/Subscript example</a>)</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">var</span> textInput:<span style="color: #0066CC;">XML</span> =
&nbsp;
אבגד neil <span style="color: #66cc66;">&lt;</span>span fontFamily=<span style="color: #ff0000;">&quot;YOURFONT&quot;</span> fontLookup=<span style="color: #ff0000;">&quot;FontLookup.EMBEDDED_CFF&quot;</span><span style="color: #66cc66;">&gt;</span>הוזחטי ךכלםמןנס עףפץצקרשתְֱֲֳִֵֶַָֹֻּֽֿׁ<span style="color: #66cc66;">&lt;/</span>span<span style="color: #66cc66;">&gt;</span>
&nbsp;
;</pre></div></div>

<p>While I&#8217;m not too keen on that implementation &#8211; it&#8217;s similar to the old HTML method of specifying type options via the font element &#8211; it&#8217;s the only solution I&#8217;m aware of at the moment.</p>
<p>Hopefully a CSS-like method will appear to make the whole process simpler in the near future.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil</title>
		<link>http://cameronyule.com/2009/06/text-layout-framework-api-update/comment-page-1#comment-410</link>
		<dc:creator>Neil</dc:creator>
		<pubDate>Thu, 02 Jul 2009 15:55:11 +0000</pubDate>
		<guid isPermaLink="false">http://cameronyule.com/?p=585#comment-410</guid>
		<description>Cameron,

I am trying to keep ahead with the TLF while I&#039;m not so busy.

Your posts are really helpful with this, what I want to know is how to reference an embedded font if the text flow is XML, eg:
 
var textInput:XML = 

   
      אבגד neil הוזחטי ךכלםמןנס עףפץצקרשתְֱֲֳִֵֶַָֹֻּֽֿׁ
   

;

It works using your method but when I use TextLineFactory.createTextLinesFromTextFlow you cannot pass in a CharacterFormat, so I don&#039;t know where you set FontLookup.EMBEDDED_CFF.

Thanks</description>
		<content:encoded><![CDATA[<p>Cameron,</p>
<p>I am trying to keep ahead with the TLF while I&#8217;m not so busy.</p>
<p>Your posts are really helpful with this, what I want to know is how to reference an embedded font if the text flow is XML, eg:</p>
<p>var textInput:XML = </p>
<p>      אבגד neil הוזחטי ךכלםמןנס עףפץצקרשתְֱֲֳִֵֶַָֹֻּֽֿׁ</p>
<p>;</p>
<p>It works using your method but when I use TextLineFactory.createTextLinesFromTextFlow you cannot pass in a CharacterFormat, so I don&#8217;t know where you set FontLookup.EMBEDDED_CFF.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
