Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ufotools] cannot handle global guidelines #700

Closed
frankrolf opened this issue Dec 18, 2018 · 0 comments
Closed

[ufotools] cannot handle global guidelines #700

frankrolf opened this issue Dec 18, 2018 · 0 comments
Assignees
Projects

Comments

@frankrolf
Copy link
Member

makeotf v 2.6.0 fails for a UFO3 file with global guidelines:

Traceback (most recent call last):
  File "/usr/local/bin/makeotf", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.7/site-packages/afdko/makeotf.py", line 2684, in main
    setMissingParams(makeOTFParams)
  File "/usr/local/lib/python3.7/site-packages/afdko/makeotf.py", line 1791, in setMissingParams
    ufo_fmndb_path = ufotools.makeUFOFMNDB(srcFontPath)
  File "/usr/local/lib/python3.7/site-packages/afdko/ufotools.py", line 2492, in makeUFOFMNDB
    fiMap, fiList = parsePList(fontInfoPath)
  File "/usr/local/lib/python3.7/site-packages/afdko/ufotools.py", line 1261, in parsePList
    (listChild.tag, child.tag, lastName, filePath))
afdko.ufotools.UFOParseError: In plist file, encountered unhandled key type 'dict' in 'array' for parent key guidelines. /Users/fgriessh/Desktop/guideline_test/guideline_test.ufo/fontinfo.plist.

This is one of the issues encountered with UFO files submitted by @rbmntjs.
Example single-glyph UFO attached.

guideline_test.ufo.zip

@miguelsousa miguelsousa added this to To do in 4th Sprint Jan 10, 2019
miguelsousa added a commit that referenced this issue Feb 7, 2019
4th Sprint automation moved this from To do to Done Feb 7, 2019
@miguelsousa miguelsousa self-assigned this Feb 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
4th Sprint
  
Done
Development

No branches or pull requests

2 participants