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

[waterfallplot] Crashes if font has no BlueValues #394

Closed
miguelsousa opened this issue May 23, 2018 · 0 comments
Closed

[waterfallplot] Crashes if font has no BlueValues #394

miguelsousa opened this issue May 23, 2018 · 0 comments
Assignees

Comments

@miguelsousa
Copy link
Member

Traceback (most recent call last):
  File "bin/waterfallplot", line 11, in <module>
    load_entry_point('afdko', 'console_scripts', 'waterfallplot')()
  File "afdko/Tools/SharedData/FDKScripts/ProofPDF.py", line 956, in waterfallplot
    main()
  File "afdko/Tools/SharedData/FDKScripts/ProofPDF.py", line 983, in main
    proofMakePDF(params.rt_fileList, params, txPath)
  File "afdko/Tools/SharedData/FDKScripts/ProofPDF.py", line 889, in proofMakePDF
    pdfFont = otfPDF.txPDFFont(ttFont, params)
  File "afdko/Tools/SharedData/FDKScripts/otfPDF.py", line 84, in __init__
    self.GetBlueZones()
  File "afdko/Tools/SharedData/FDKScripts/fontPDF.py", line 483, in GetBlueZones
    self.blueZones = self.clientGetBlueZones()
  File "afdko/Tools/SharedData/FDKScripts/otfPDF.py", line 176, in clientGetBlueZones
    rawBlueList = fontDict.Private.BlueValues
  File "site-packages/fontTools/cffLib/__init__.py", line 2245, in __getattr__
    raise AttributeError(name)
AttributeError: BlueValues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant