<?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: Extracting font glyphs from SWF and Drawing with them</title>
	<atom:link href="http://wu-media.com/2009/05/extracting-font-glyphs-from-swf-and-drawing-with-them/feed/" rel="self" type="application/rss+xml" />
	<link>http://wu-media.com/2009/05/extracting-font-glyphs-from-swf-and-drawing-with-them/</link>
	<description></description>
	<lastBuildDate>Mon, 30 Jan 2012 16:22:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Lane Dauphinais</title>
		<link>http://wu-media.com/2009/05/extracting-font-glyphs-from-swf-and-drawing-with-them/comment-page-1/#comment-16841</link>
		<dc:creator>Lane Dauphinais</dc:creator>
		<pubDate>Sat, 11 Sep 2010 19:17:04 +0000</pubDate>
		<guid isPermaLink="false">http://wu-media.com/?p=19#comment-16841</guid>
		<description>Sweet Post!</description>
		<content:encoded><![CDATA[<p>Sweet Post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sergey</title>
		<link>http://wu-media.com/2009/05/extracting-font-glyphs-from-swf-and-drawing-with-them/comment-page-1/#comment-5739</link>
		<dc:creator>sergey</dc:creator>
		<pubDate>Thu, 18 Mar 2010 22:17:02 +0000</pubDate>
		<guid isPermaLink="false">http://wu-media.com/?p=19#comment-5739</guid>
		<description>exelent but doesn&#039;t works with cyrilic

got this problem:

TypeError: Error #1010: ... terms are not inited or has null value
	at wumedia.text::DynamicText$/measureLines()
	at wumedia.text::DynamicText$/write()
	at TestFive3D/init()
	at TestFive3D()</description>
		<content:encoded><![CDATA[<p>exelent but doesn&#8217;t works with cyrilic</p>
<p>got this problem:</p>
<p>TypeError: Error #1010: &#8230; terms are not inited or has null value<br />
	at wumedia.text::DynamicText$/measureLines()<br />
	at wumedia.text::DynamicText$/write()<br />
	at TestFive3D/init()<br />
	at TestFive3D()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flastar &#187; Текст через graphics</title>
		<link>http://wu-media.com/2009/05/extracting-font-glyphs-from-swf-and-drawing-with-them/comment-page-1/#comment-3367</link>
		<dc:creator>Flastar &#187; Текст через graphics</dc:creator>
		<pubDate>Tue, 02 Mar 2010 11:00:17 +0000</pubDate>
		<guid isPermaLink="false">http://wu-media.com/?p=19#comment-3367</guid>
		<description>[...] как-то стало неловко и я пошел искать как это делатся) Нашел Тут решен вопрос и для graphics, и для graphics3D (Five3d), Papervision3d [...]</description>
		<content:encoded><![CDATA[<p>[...] как-то стало неловко и я пошел искать как это делатся) Нашел Тут решен вопрос и для graphics, и для graphics3D (Five3d), Papervision3d [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://wu-media.com/2009/05/extracting-font-glyphs-from-swf-and-drawing-with-them/comment-page-1/#comment-682</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 08 Feb 2010 10:58:29 +0000</pubDate>
		<guid isPermaLink="false">http://wu-media.com/?p=19#comment-682</guid>
		<description>VectorText.extractFont takes any ByteArray including the that of the current swf.

VectorText.extractFont(root.loaderInfo.bytes);</description>
		<content:encoded><![CDATA[<p>VectorText.extractFont takes any ByteArray including the that of the current swf.</p>
<p>VectorText.extractFont(root.loaderInfo.bytes);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vivoices</title>
		<link>http://wu-media.com/2009/05/extracting-font-glyphs-from-swf-and-drawing-with-them/comment-page-1/#comment-677</link>
		<dc:creator>vivoices</dc:creator>
		<pubDate>Sun, 07 Feb 2010 11:07:51 +0000</pubDate>
		<guid isPermaLink="false">http://wu-media.com/?p=19#comment-677</guid>
		<description>I am using VectorText.extractFont( . . . in Away3D in a Flash Builder4 Beta 2 project.

Would it be possible to extract fonts that are already embedded in the same swf file ( the FB4 output file ) instead of loading a  swf  for font extraction?
It would be more memory and load-time efficient to use the same embedded fonts for both regular and 3D text.</description>
		<content:encoded><![CDATA[<p>I am using VectorText.extractFont( . . . in Away3D in a Flash Builder4 Beta 2 project.</p>
<p>Would it be possible to extract fonts that are already embedded in the same swf file ( the FB4 output file ) instead of loading a  swf  for font extraction?<br />
It would be more memory and load-time efficient to use the same embedded fonts for both regular and 3D text.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: teleskopy astronomiczne</title>
		<link>http://wu-media.com/2009/05/extracting-font-glyphs-from-swf-and-drawing-with-them/comment-page-1/#comment-534</link>
		<dc:creator>teleskopy astronomiczne</dc:creator>
		<pubDate>Tue, 29 Dec 2009 12:10:27 +0000</pubDate>
		<guid isPermaLink="false">http://wu-media.com/?p=19#comment-534</guid>
		<description>Very nice blog, your article is interesting, i have bookmarked it for future referrence</description>
		<content:encoded><![CDATA[<p>Very nice blog, your article is interesting, i have bookmarked it for future referrence</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sakri</title>
		<link>http://wu-media.com/2009/05/extracting-font-glyphs-from-swf-and-drawing-with-them/comment-page-1/#comment-110</link>
		<dc:creator>sakri</dc:creator>
		<pubDate>Mon, 27 Jul 2009 05:18:18 +0000</pubDate>
		<guid isPermaLink="false">http://wu-media.com/?p=19#comment-110</guid>
		<description>Very impressive! Thanks for sharing the code!</description>
		<content:encoded><![CDATA[<p>Very impressive! Thanks for sharing the code!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: around as3 &#187; Текст в кривые программно или «Крошим шрифт на кусочки».</title>
		<link>http://wu-media.com/2009/05/extracting-font-glyphs-from-swf-and-drawing-with-them/comment-page-1/#comment-105</link>
		<dc:creator>around as3 &#187; Текст в кривые программно или «Крошим шрифт на кусочки».</dc:creator>
		<pubDate>Wed, 22 Jul 2009 08:58:26 +0000</pubDate>
		<guid isPermaLink="false">http://wu-media.com/?p=19#comment-105</guid>
		<description>[...] источник – wu-media lab (Guojian Miguel Wu) использует несколько иной подход. Источником контуров служит загружаемая свфка(swf) в [...]</description>
		<content:encoded><![CDATA[<p>[...] источник – wu-media lab (Guojian Miguel Wu) использует несколько иной подход. Источником контуров служит загружаемая свфка(swf) в [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Досвидос TextField! &#171; Flastar</title>
		<link>http://wu-media.com/2009/05/extracting-font-glyphs-from-swf-and-drawing-with-them/comment-page-1/#comment-54</link>
		<dc:creator>Досвидос TextField! &#171; Flastar</dc:creator>
		<pubDate>Thu, 18 Jun 2009 08:40:59 +0000</pubDate>
		<guid isPermaLink="false">http://wu-media.com/?p=19#comment-54</guid>
		<description>[...] надежде найти уже готовое решение, обратился к гуглу. Гугл как всегда радует Тут решен вопрос и для graphics, и для graphics3D (Five3d), и для [...]</description>
		<content:encoded><![CDATA[<p>[...] надежде найти уже готовое решение, обратился к гуглу. Гугл как всегда радует Тут решен вопрос и для graphics, и для graphics3D (Five3d), и для [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://wu-media.com/2009/05/extracting-font-glyphs-from-swf-and-drawing-with-them/comment-page-1/#comment-36</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 08 Jun 2009 18:35:13 +0000</pubDate>
		<guid isPermaLink="false">http://wu-media.com/?p=19#comment-36</guid>
		<description>I had actually forgotten to add the properties :)

I went added and added these
&lt;pre lang=&quot;actionscript3&quot; line=&quot;1&quot;&gt;
public function get isBold():Boolean { return (_flags &amp; 0x01) != 0; }
public function get isItalic():Boolean { return (_flags &amp; 0x02) != 0; }
public function get isBoldItalic():Boolean { return isBold &amp;&amp; isItalic; }
public function get isRegular():Boolean { return !isBold &amp;&amp; !isItalic; }
&lt;/pre&gt;

also, I&#039;m pretty sure we&#039;re looking at the same documentation.

7. UB[1] Has font metrics/layout information.
6. UB[1] ShiftJIS encoding.
5. UB[1] SWF 7 or later: Font is small. Character glyphs are aligned on pixel boundaries for dynamic and input text.
4. UB[1] ANSI encoding.
3. UB[1] If 1, uses 32 bit offsets.
2. UB[1] If 1, font uses 16-bit codes; otherwise font uses 8 bit codes.
1. UB[1] Italic Font.
0. UB[1] Bold Font.

so Bold should be _flags &amp; 0x01 and italic should be _flags &amp; 0x02. I didn&#039;t test these. I&#039;m just assuming is right. let me know if you find it to be flawed.</description>
		<content:encoded><![CDATA[<p>I had actually forgotten to add the properties <img src='http://wu-media.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I went added and added these</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> <span style="color: #0033ff; font-weight: bold;">get</span> isBold<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Boolean</span> <span style="color: #000000;">&#123;</span> <span style="color: #0033ff; font-weight: bold;">return</span> <span style="color: #000000;">&#40;</span>_flags <span style="color: #000066; font-weight: bold;">&amp;</span> 0x01<span style="color: #000000;">&#41;</span> <span style="color: #000066; font-weight: bold;">!</span>= <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000066; font-weight: bold;">;</span> <span style="color: #000000;">&#125;</span>
<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> <span style="color: #0033ff; font-weight: bold;">get</span> isItalic<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Boolean</span> <span style="color: #000000;">&#123;</span> <span style="color: #0033ff; font-weight: bold;">return</span> <span style="color: #000000;">&#40;</span>_flags <span style="color: #000066; font-weight: bold;">&amp;</span> 0x02<span style="color: #000000;">&#41;</span> <span style="color: #000066; font-weight: bold;">!</span>= <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000066; font-weight: bold;">;</span> <span style="color: #000000;">&#125;</span>
<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> <span style="color: #0033ff; font-weight: bold;">get</span> isBoldItalic<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Boolean</span> <span style="color: #000000;">&#123;</span> <span style="color: #0033ff; font-weight: bold;">return</span> isBold <span style="color: #000066; font-weight: bold;">&amp;&amp;</span> isItalic<span style="color: #000066; font-weight: bold;">;</span> <span style="color: #000000;">&#125;</span>
<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> <span style="color: #0033ff; font-weight: bold;">get</span> isRegular<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Boolean</span> <span style="color: #000000;">&#123;</span> <span style="color: #0033ff; font-weight: bold;">return</span> <span style="color: #000066; font-weight: bold;">!</span>isBold <span style="color: #000066; font-weight: bold;">&amp;&amp;</span> <span style="color: #000066; font-weight: bold;">!</span>isItalic<span style="color: #000066; font-weight: bold;">;</span> <span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>also, I&#8217;m pretty sure we&#8217;re looking at the same documentation.</p>
<p>7. UB[1] Has font metrics/layout information.<br />
6. UB[1] ShiftJIS encoding.<br />
5. UB[1] SWF 7 or later: Font is small. Character glyphs are aligned on pixel boundaries for dynamic and input text.<br />
4. UB[1] ANSI encoding.<br />
3. UB[1] If 1, uses 32 bit offsets.<br />
2. UB[1] If 1, font uses 16-bit codes; otherwise font uses 8 bit codes.<br />
1. UB[1] Italic Font.<br />
0. UB[1] Bold Font.</p>
<p>so Bold should be _flags &amp; 0&#215;01 and italic should be _flags &amp; 0&#215;02. I didn&#8217;t test these. I&#8217;m just assuming is right. let me know if you find it to be flawed.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

