UNSOLVED error message when generating otf



  • i am trying to export an otf and i get this error message:

    Traceback (most recent call last):
      File "/Applications/RoboFont.app/Contents/Resources/lib/python3.6/fontCompiler/tools/compileTools.py", line 279, in _executeCommand
      File "/Applications/RoboFont.app/Contents/Resources/lib/python3.6/fontCompiler/tools/compileTools.py", line 318, in embedded_makeotf
      File "makeotf.py", line 1504, in getOptions
      File "makeotf.py", line 1520, in checkInputFile
      File "makeotf.py", line 1945, in convertFontIfNeeded
      File "/Applications/RoboFont.app/Contents/Resources/lib/python3.6/fontTools/misc/py23.py", line 131, in tounicode
    UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 7: ordinal not in range(128)
    

    is there a way to figure if this is an issue with my ufo?
    (robofont 3.2 on 10.10)
    thanks j


  • admin

    but having a control char somewhere in the font info is never a good plan (you have the control character 0x80 somewhere)


  • admin

    I guess it goes wrong a bit earlier...

    could you enable save FKD parts next to the UFO in the prefs and see if there are raw fonts generated?

    It cannot read the binary font file...
    can you send the UFO file?

    https://github.com/adobe-type-tools/afdko/blob/develop/python/afdko/makeotf.py#L1945


Log in to reply