[ 
https://issues.apache.org/jira/browse/FLEX-34104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13907859#comment-13907859
 ] 

Alex Harui commented on FLEX-34104:
-----------------------------------

Did it ever work with Apache Flex?  If not, my first guess is that the class 
path needs overriding.  I think the class it can't find is in swfutils.jar and 
in Adobe Flex all the jars are in the same folder (lib) but in Apache Flex 
we've moved it to lib/external/optional


> fontswf utility fails with exception
> ------------------------------------
>
>                 Key: FLEX-34104
>                 URL: https://issues.apache.org/jira/browse/FLEX-34104
>             Project: Apache Flex
>          Issue Type: Bug
>    Affects Versions: Apache Flex 4.11.0, Apache Flex 4.12.0
>            Reporter: Justin Mclean
>
> Running fontswf like so gives this error on both windows and OSX.
> ./fontswf ../../../Downloads/DroidSans-Bold.ttf 
> Adobe Font SWF Conversion Utility
> Copyright (c) 2009 Adobe Systems, Inc. All rights reserved.
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> flash/swf/tags/DefineTag
>       at com.adobe.fonts.transcoder.Font2SWF.main(Unknown Source)
> Caused by: java.lang.ClassNotFoundException: flash.swf.tags.DefineTag
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
>       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
>       ... 1 more
> Workaround is to use the old fontswf utility from Adobe Flex 4.6.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to