A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/adobe-type-tools/afdko/issues/1092 below:

[waterfallplot] crashes if requested waterfall range overflows · Issue #1092 · adobe-type-tools/afdko · GitHub

waterfallplot doesn’t like the requested waterfall range to exceed the physical page size.
In other words: the waterfall doesn’t cascade.

waterfallplot -wfr 60-70 font.pfa

Proofing font font.pfa. Start time: Tue Feb 18 14:02:22 2020.
Traceback (most recent call last):
  File "/Users/fgriessh/.pyenv/versions/3.7.4/bin/waterfallplot", line 8, in <module>
    sys.exit(waterfallplot())
  File "/Users/fgriessh/.pyenv/versions/3.7.4/lib/python3.7/site-packages/afdko/proofpdf.py", line 945, in waterfallplot
    main()
  File "/Users/fgriessh/.pyenv/versions/3.7.4/lib/python3.7/site-packages/afdko/proofpdf.py", line 972, in main
    proofMakePDF(params.rt_fileList, params, txPath)
  File "/Users/fgriessh/.pyenv/versions/3.7.4/lib/python3.7/site-packages/afdko/proofpdf.py", line 893, in proofMakePDF
    pdfFilePath = makePDF(pdfFont, params, doProgressBar)
  File "/Users/fgriessh/.pyenv/versions/3.7.4/lib/python3.7/site-packages/afdko/pdflib/fontpdf.py", line 1670, in makePDF
    makeWaterfallPDF(params, pdfFont, doProgressBar)
  File "/Users/fgriessh/.pyenv/versions/3.7.4/lib/python3.7/site-packages/afdko/pdflib/fontpdf.py", line 1992, in makeWaterfallPDF
    numPages = int(ceil(float(numWaterFalls) / numWaterfallsOnPage))
ZeroDivisionError: float division by zero

Test font attached:
font.pfa.zip


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4