Hi,
I’m having trouble generating an OTF from an ufo generated with UFOCentral. The ufo works perfectly in Robofont, but as soon as I try to generate an otf I get this output:
Traceback (most recent call last):
File “lib/fontObjects/doodleFontCompiler/baseCompiler.pyc”, line 281, in compile
File “ufo2fdk/makeotfParts.pyc”, line 64, in compile
File “ufo2fdk/makeotfParts.pyc”, line 79, in setupFile_outlineSource
File “ufo2fdk/outlineOTF.pyc”, line 80, in compile
File “/Applications/RoboFont.app/Contents/Resources/lib/python2.7/fontTools/ttLib/__init__.py”, line 200, in save
File “/Applications/RoboFont.app/Contents/Resources/lib/python2.7/fontTools/ttLib/__init__.py”, line 596, in _writeTable
File “/Applications/RoboFont.app/Contents/Resources/lib/python2.7/fontTools/ttLib/__init__.py”, line 608, in getTableData
File “/Applications/RoboFont.app/Contents/Resources/lib/python2.7/fontTools/ttLib/tables/C_F_F_.py”, line 20, in compile
File “/Applications/RoboFont.app/Contents/Resources/lib/python2.7/fontTools/cffLib.py”, line 77, in compile
File “/Applications/RoboFont.app/Contents/Resources/lib/python2.7/fontTools/cffLib.py”, line 161, in toFile
File “/Applications/RoboFont.app/Contents/Resources/lib/python2.7/fontTools/cffLib.py”, line 226, in toFile
UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\u2013′ in position 3: ordinal not in range(128)
I’ve deleted the endash (u2013) glyph and tried to generate it again, but it still does not want to work.
Any thoughts on how to solve this?
Jaco