flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-34104) fontswf utility fails with exception
Date Fri, 21 Feb 2014 01:03:15 GMT

     [ https://issues.apache.org/jira/browse/FLEX-34104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Justin Mclean updated FLEX-34104:
---------------------------------

    Description: 
Running fontswf like so gives this error on both windows and OSX.

./fontswf ../../../Downloads/DroidSans-Bold.ttf 

{code}
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
{code}

Workaround is to use the old fontswf utility from Adobe Flex 4.6.

  was:
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.


> 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 
> {code}
> 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
> {code}
> Workaround is to use the old fontswf utility from Adobe Flex 4.6.



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

Mime
View raw message