Daniel Cassidy schrieb:
2009/9/24 de...@upwithabang.com <de...@upwithabang.com>:
Rebooting into OpenSuse just to recompile resources is too painful. I want
to use swfmill in VMWare.
I'm always compiling swfmill from source, v2.12.6.
The problem: in vmware, the font doesn't appear when the flash runs. There
are no errors when compiling and the exact same setup works in the OpenSuse
partition. But for some reason, only in the VMware the font fails. swfmill
does not report any errors either. The font is vera.ttf.
You say you're compiling the swf inside the VM, but are you *viewing*
the swf inside the VM or from Windows?
Also, I don't understand why you're using a VM at all. Why not use a
Windows build of swfmill? There are unofficial, but up to date Windows
builds here: http://www.danielcassidy.me.uk/swfmill
I can't think of any reason why running swfmill in a VM would cause it
to fail to embed fonts. The use of a VM is almost certainly a red
herring. However, swfmill is quite poor at reporting errors when
embedding fails, so it is quite possible that it is failing silently.
This is something I intend to improve in the future.
Here are some possible causes:
* The font file is missing or corrupt, or you've made some other
trivial error referencing it, such as specifying the wrong path or
wrong case.
* There's something else wrong with your XML, e.g. incorrect syntax.
* If you're viewing the swf inside the VM: Your compiled swf was
never using the embedded fonts, but was using device fonts all along
-- perhaps because font embedding failed or because you incorrectly
referenced the font where you wished to use it. The Linux Flash Player
is frankly rubbish at locating device fonts. Try installing the
Microsoft core fonts on your Linux VM. If that makes the problem go
away, your swf is using device fonts.
Hope this helps,
Dan.
_______________________________________________
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org
Maybe related,
I noticed on windows that somehow fonts only work if they are installed.
Fonts from a different folder than C:\Windows\Fonts did not show up in
the swf.
Cordially,
Axel
_______________________________________________
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org