[swfmill] defineFont2 vs defineFont3
Walton, Lynn
Lynn_Walton at adp.com
Tue Aug 5 09:14:17 PDT 2008
Well, in case anyone is interested, I just learned that the problem with
the corrupted swf when another swf with an embedded font was imported
via swfmill library seems to be related to the fact that the imported
swf (Logo.swf in my example below) had a setting called "anti-alias for
reading" on the text fields. When we changed them to "anti-alias for
animation" which is the same setting that the textfields in the template
swf use then it created a good swf.
I'd still like to understand more why <defineFont2> is used in the
windows version I have and <defineFont3> is used in the linux version?
And is there any way I can control it?
Lynn
-----Original Message-----
From: Walton, Lynn
Sent: Tuesday, August 05, 2008 9:26 AM
To: 'swfmill at osflash.org'
Subject: defineFont2 vs defineFont3
Hi all,
I'm experiencing a problem that I need some help understanding.
If I create a swf with swfmill from using:
swfmill simple mov.xml my.swf
where mov.xml has
<?xml version="1.0" encoding="UTF-8"?>
<movie version="8" width="300" height="250" framerate="24">
<background color="#FFFFFF"/>
<frame>
<library>
<clip id="logo_mc" import="library/Logo.swf" />
<clip id="image_mc" import="library/image.jpg"
mask="library/img.png" />
<font name="font1" import="fonts/georgia.ttf"
glyphs=" !$'04?BCDHLNOTabcdefghiklmnoprstuvwy"/>
</library>
<clip id="template" import="template.swf" />
<place id="template" depth="0" />
</frame>
</movie>
My question has to do with what determines when an imported font gets
put in as a <defineFont2> tag versus a <defineFont3> tag.
For me, on windows it gets put in as defineFont2 and on linux
defineFont3
Should it matter?
My actual problem is that when one of the clip's imported using the
mov.xml above (like logo_mc) contains an embedded font I'm getting a
corrupt swf built. Swfmill gives no errors and makes it, but it just
crashes on attempting to view it. But it only happens on linux. The
exact same stuff is fine on windows where it happens that my font I'm
sticking in with certain glyphs (from mov.xml) is put in as
<defineFont2>.
Anyone have any ideas on this? I'm using a build Ralf gave me from
around Apr 8, 2008 for windows called 2.12.6 and using a linux build
from source also around Apr 8, 2008.
Any ideas/help greatly appreciated.
Thanks,
Lynn
This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system.
More information about the swfmill
mailing list