yep, it was the font. i tried a random .ttf font from my system and it worked fine.
the strange thing is that i took the .sc and the font from the example here:- http://technoargia.free.fr/swftools/examples/button2/button2.html so for some reason swftools 0.7.0 on my system can't generate this example, does it on yours? i also checked the use of .swf fonts, in that i did a font2swf on the .ttf i suscessfully used above, and that worked fine. this is sounding like .swf fonts made with earlier versions of swftools don't work with the current one (ie no backwards compatibility). however i got the same effect with 0.6.3 as well, so i'm a little lost anyway thanks for the code and the help, ian On 2005-10-01 13:20:21 +0200 +0200, Matthias Kramm wrote: > On Tue, Sep 27, 2005 at 04:36:12PM +0100, Ranting Hippy wrote: > > http://www.rantinghippy.org.uk/tests/text1.html > > Hm, I'd say the font is to blame. It doesn't seem to specify > correct advance parameters. > You're using a file called "font/Times.swf"- I guess this > was converted from some system font by font2swf? Maybe ubuntu > has broken fonts somewhere? > I'm just wildly guessing here- to be more precise, it would help > if I could have a look at the Times.swf and Times.ttf files you're > using. > In case you didn't convert this yourself, but used the one > supplied with swftools, try upgrading the font file to the newest > version. I made some changes to the advance scaling not so long ago. > > Greetings > > Matthias > > > > > _______________________________________________ > Swftools-common mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/swftools-common _______________________________________________ Swftools-common mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/swftools-common
