DoodleInfo



  • With the new 1.7.2 I got this error when I try to generate (It worked in the previous versions):

    Traceback (most recent call last):
      File "12 EMT Generar si UI.py", line 47, in <module>
      File "lib/fontObjects/robofabWrapper.pyc", line 313, in __getattr__
    AttributeError: 'DoodleInfo' object has no attribute 'postscrverticaliptFontName'
    

    Line 47 of the script:

            f.generate(f.path[:- len(f.path.split("/")[-1])] + f.info.postscrverticaliptFontName + ".otf" , 'otf', decompose=True, autohint=True, checkOutlines=True, releaseMode=True, glyphOrder=None, progressBar=None, useMacRoman=True)
    

    I use OS X 10.11.6

    Thank for your help.

    em.


  • admin

    Hi Eduardo

    I dont have this script: 12 EMT Generar si UI.py

    but

    f.info.postscrverticaliptFontName
    

    should be

    f.info.postscriptFontName
    

    and it is not advised to use spaces in a script file name

    good luck


  • admin

    Hi Eduardo

    I dont have this script: 12 EMT Generar si UI.py

    but

    f.info.postscrverticaliptFontName
    

    should be

    f.info.postscriptFontName
    

    and it is not advised to use spaces in a script file name

    good luck



  • :)

    My fault, sorry, I have pasted by error a word in the middle of the postscriptFontName.

    Thanks for your help!


Log in to reply