[swfmill] Problem with space char in font import

Давид Мзареулян david at hiero.ru
Thu Jul 5 07:41:23 EDT 2007


Hi,

I am trying to make font for sIFR with swfmill (as described here:
http://www.hyperlogos.org/blog/drink/sifr).

I was create simple XML file (stub.xml):

<?xml version="1.0" encoding="UTF-8"?>
<movie width="200" height="70" framerate="30">
<background color="#ffffff"/><library>
<font id="myfont" import="arial.ttf" glyphs="123 " />
</library><frame/></movie>

Note for the space char in glyphs="123 ": problem occurs only if it present!

Then I run following two commands (using swfmill-0.2.12-win32):

swfmill simple stub.xml tmp.swf
 - it's OK

swfmill swf2xml tmp.swf font.xml
 - it's making message "WARNING: end of tag DefineFont2 is @413, should be
@391" and font.xml doesn't created.

Swfmill can't parse his own swf file???

When I'm adding "-V" to second command, it produced VERY large output
(~40000 lines), mostly (from #400 to #40000 lines) consists of:

...
PARSE WideKerning @413-0 :391
PARSE a: 0
PARSE b: 0
PARSE adjustment: 0
PARSE WideKerning @413-0 :391
PARSE a: 0
PARSE b: 0
PARSE adjustment: 0
PARSE WideKerning @413-0 :391
PARSE a: 0
PARSE b: 0
...

Looks like a infinite loop?


Sorry for my bad English.

-- 
David Mzareulyan
david at hiero.ru
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/swfmill_osflash.org/attachments/20070705/009b7e66/attachment.htm


More information about the swfmill mailing list