Bug on generating



  • I get a traceback while generating a font:

    Traceback (most recent call last):
      File "ufo2fdk/makeotfParts.pyc", line 78, in setupFile_outlineSource
      File "ufo2fdk/outlineOTF.pyc", line 79, in compile
      File "/Applications/Typotools/RoboFont/RoboFont.app/Contents/Resources/lib/python2.7/fontTools/ttLib/__init__.py", line 201, in save
      File "/Applications/Typotools/RoboFont/RoboFont.app/Contents/Resources/lib/python2.7/fontTools/ttLib/__init__.py", line 597, in _writeTable
      File "/Applications/Typotools/RoboFont/RoboFont.app/Contents/Resources/lib/python2.7/fontTools/ttLib/__init__.py", line 609, in getTableData
      File "/Applications/Typotools/RoboFont/RoboFont.app/Contents/Resources/lib/python2.7/fontTools/ttLib/tables/O_S_2f_2.py", line 117, in compile
      File "sstruct.pyc", line 74, in pack
    error: integer out of range for 'H' format code
    


  • Same file, pfa export:

    otf2pfa Report
    
    tx: --- /var/folders/m_/cnjf4ygd3jzg02_w31v5zg7h0000gn/T/tmpc0sFOU.otf
    tx: end of file [/var/folders/m_/cnjf4ygd3jzg02_w31v5zg7h0000gn/T/tmpc0sFOU.otf]
    tx: fatal error
    

  • admin

    I don't really know where this bug started but the openTypeOS2WinDescent isn't allowed to be negative.

    You can change this value in the info sheet look for usWinDescent in the OpenType tab.

    The pfa export will be solved in the next update ;)



  • Thanks, will look at it!