Post by madivad on Mar 7, 2014 13:56:07 GMT -8
I'm trying to create a font asset but can't get my head around this asset converter. I'm on OSX Mavericks, I have python 2.7.5 installed. I installed PIL using easy_install, as with gameduino2.
I just pulled out a font from my system but I get the following error:
I'd be appreciative if someone could give me a hand to debug this problem.
I just pulled out a font from my system but I get the following error:
$ gd2asset /Users/Dave/Documents/xCode/tiles02/tiles02/Action_Man.ttf
Traceback (most recent call last):
File "/usr/local/bin/gd2asset", line 5, in <module>
pkg_resources.run_script('gameduino2==0.1.2', 'gd2asset')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 489, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1214, in run_script
exec script_code in namespace, namespace
File "/Library/Python/2.7/site-packages/gameduino2-0.1.2-py2.7.egg/EGG-INFO/scripts/gd2asset", line 121, in <module>
File "build/bdist.macosx-10.9-intel/egg/gameduino2/prep.py", line 426, in make
File "/Library/Python/2.7/site-packages/gameduino2-0.1.2-py2.7.egg/EGG-INFO/scripts/gd2asset", line 92, in addall
File "/Library/Python/2.7/site-packages/gameduino2-0.1.2-py2.7.egg/EGG-INFO/scripts/gd2asset", line 46, in ttf
File "build/bdist.macosx-10.9-intel/egg/gameduino2/prep.py", line 286, in load_ttf
File "build/bdist.macosx-10.9-intel/egg/gameduino2/prep.py", line 258, in load_font
OverflowError: unsigned byte integer is less than minimum
I'd be appreciative if someone could give me a hand to debug this problem.