Re: [swfmill] prerelease 0.2.12.4
Niiicee! So this means we have to wait a few more hours or days until the new release is usable? Cheers =) SKYCO GmbH, Process and Workflow Management Schliemannstr. 5 I 10437 Berlin Tel. +49 30 55009711 I Fax +49 30 48494771 email: [EMAIL PROTECTED] http://www.skyco.de -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von daniel fischer Gesendet: Mittwoch, 11. April 2007 01:56 An: swfmill@osflash.org Betreff: Re: [swfmill] prerelease 0.2.12.4 Ralf Fuest [EMAIL PROTECTED] (on Wed, 11 Apr 2007 01:50:53 +0200): I just tried 0.2.12.4 and it fails to compile. You have removed the const keywords in swft_import_ttf.cpp and now gcc 4.1.2 on ubuntu 7.04 complains that there is an invalid conversion in these lines. After adding the consts it compiled again. heh- i had the exact opposite-- that's why i removed the consts. Seems we have some conflicting freetype versions? I'm using 2.1.10 here, what's yours? -dan -- http://0xDF.com/ http://iterative.org/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] prerelease 0.2.12.4
I'm using freetype 2.2.1. After searching on the freetype-devel mailinglist I found a thread about this problem and it seems that they changed the API in Version 2.2.0. So we need to do some conditional compiling, when we want to support both APIs. Ralf heh- i had the exact opposite-- that's why i removed the consts. Seems we have some conflicting freetype versions? I'm using 2.1.10 here, what's yours? -dan ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
[swfmill] Ticket #11
Hello, i've fixed the problem described in ticket #11. The problem was that the isSetup bit wasn't preserved during the conversion of empty TextRecords, so every empty TextRecord is interpreted as the end of the records list. Ralf Index: src/codegen/source.xml === --- src/codegen/source.xml (Revision 214) +++ src/codegen/source.xml (Arbeitskopie) @@ -214,7 +214,7 @@ type name=TextRecord6 - bit name=isSetup default=0/ + bit name=isSetup default=0 prop=true/ flagged flag=isSetup integer name=reserved size=3 constant-size=true/ bit name=hasFont/ @@ -245,7 +245,7 @@ /type type name=TextRecord62 - bit name=isSetup default=0/ + bit name=isSetup default=0 prop=true/ flagged flag=isSetup integer name=reserved size=3 constant-size=true/ bit name=hasFont/ @@ -276,7 +276,7 @@ /type type name=TextRecord7 - bit name=isSetup default=0/ + bit name=isSetup default=0 prop=true/ integer name=reserved size=3 constant-size=true/ bit name=hasFont/ bit name=hasColor/ @@ -308,7 +308,7 @@ type name=TextRecord72 context param=alpha value=1/ - bit name=isSetup default=0/ + bit name=isSetup default=0 prop=true/ integer name=reserved size=3 constant-size=true/ bit name=hasFont/ bit name=hasColor/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] prerelease 0.2.12.4
Ralf Fuest [EMAIL PROTECTED] (on Wed, 11 Apr 2007 01:50:53 +0200): swft_import_ttf.cpp:52: error: invalid conversion from 'int (*)(FT_Vector*, void*)' to 'int (*)(const FT_Vector*, void*)' on svn trunk, i've re-added the consts and am casting the functions to (FT_Outline_*ToFunc)... works here, and i guess it should work for you too. -dan -- http://0xDF.com/ http://iterative.org/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] prerelease 0.2.12.4
Ralf Fuest [EMAIL PROTECTED] (on Wed, 11 Apr 2007 01:50:53 +0200): swft_import_ttf.cpp:52: error: invalid conversion from 'int (*)(FT_Vector*, void*)' to 'int (*)(const FT_Vector*, void*)' on svn trunk, i've re-added the consts and am casting the functions to (FT_Outline_*ToFunc)... works here, and i guess it should work for you too. -dan -- http://0xDF.com/ http://iterative.org/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] prerelease 0.2.12.4
Tobias Hinz [EMAIL PROTECTED] (on Wed, 11 Apr 2007 19:17:56 +0200): So this means we have to wait a few more hours or days until the new release is usable? if you're using the binary release, you should be allright. the problem was related to freetype versions, it's fixed on svn. -dan -- http://0xDF.com/ http://iterative.org/ ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: [swfmill] Bitmap filter effects on buttons
Hello, there was an error in the parsing code for color filters, it should work after the attached patch is applied. And your decision to send in the file is right, because nobody can fix a bug that isn't known. More technical stuff: The end-condition for reading the ColorMatrix was wrong, so 21 instead of 20 floats were read and that screwed up everything after the matrix. I decided to add a size attribute to the list tag to make the source.xml file look less confusing. size==19 for an list with 20 elements doesn't look right ;). The Convolution filter also uses such a matrix and had a similar end-condition, so i changed this attribute to an size attribute. I couldn't check if this works because i don't have flash or an swf file that contains this filter, but i think so. Ralf Thanks! I tried out 0.2.12.4 and it works for many of my buttons, but I found one which it doesn't like. I've attached a sample swf and fla, and the output from the parsing. The difference is that this button has an adjust color filter on it. I can probably work around this, but I thought I'd send it along. Maybe it's another quick fix. Thanks again. --Brian Index: src/codegen/source.xml === --- src/codegen/source.xml (revision 216) +++ src/codegen/source.xml (working copy) @@ -541,7 +541,7 @@ byte name=matrixY prop=true/ float name=divizor prop=true/ float name=bias prop=true/ - list type=Float name=matrix prop=true end-condition=matrix.size() == matrixX * matrixY/ + list type=Float name=matrix prop=true size=matrixX * matrixY/ object type=Color name=defaultColor prop=true/ integer name=reserved size=5 constant-size=true/ bit name=clamp prop=true/ @@ -549,7 +549,7 @@ /filter filter name=ColorMatrix id=0x06 - list type=Float name=matrix prop=true end-condition=(matrix.size()==20)/ + list type=Float name=matrix prop=true size=20/ /filter filter name=GradientBevel id=0x07 Index: src/codegen/parser.xsl === --- src/codegen/parser.xsl (revision 216) +++ src/codegen/parser.xsl (working copy) @@ -149,6 +149,12 @@ item = NULL; } /xsl:if +xsl:if test=@size + if(item amp;amp; (xsl:value-of select=@name/.size() == xsl:value-of select=@size/ - 1)) { + xsl:value-of select=@name/.append( item ); + item = NULL; + } +/xsl:if } } } ___ swfmill mailing list swfmill@osflash.org http://osflash.org/mailman/listinfo/swfmill_osflash.org