-
Notifications
You must be signed in to change notification settings - Fork 166
Closed
Description
The first of the following issues occurs with the AFDKO, that I have built on 07-06-2017 and on 09-29-2017 (but not with AFDKO 2.5 build 65322).
Python 2.7.11 32 bit / 2.7.14 32 bit
Windows 7
First issue
Example command:
python.exe ProofPDF.py -fontplot -dno -o "Output\Fontplot.pdf" "font.otf"
As you can see, the PDF was generated (after closing the tx crash message popup).
I cannot exclude, that I have made anything wrong, when I had built the AFDKO (because the build notes are not up to date).
Second issue
If the input font is a ttf, ProofPDF totally fails. It also fails with AFDKO 2.5 build 65322, if the input font is a ttf. (That is not related to the TX crash bug.)
Proofing font Input\SourceSerifPro-Regular.ttf. Start time: Sun Oct 01 19:28:42
2017.
Traceback (most recent call last):
File "C:\FDK_29.09.2017\Tools\SharedData\FDKScripts\ProofPDF.py", line 996, in
<module>
main()
File "C:\FDK_29.09.2017\Tools\SharedData\FDKScripts\ProofPDF.py", line 988, in
main
proofMakePDF(params.rt_fileList, params, txPath)
File "C:\FDK_29.09.2017\Tools\SharedData\FDKScripts\ProofPDF.py", line 937, in
proofMakePDF
pdfFilePath = makePDF(pdfFont, params, doProgressBar)
File "C:\FDK_29.09.2017\Tools\SharedData\FDKScripts\fontPDF.py", line 1649, in
makePDF
makeProofPDF(pdfFont, params, doProgressBar)
File "C:\FDK_29.09.2017\Tools\SharedData\FDKScripts\fontPDF.py", line 2269, in
makeProofPDF
pdfGlyph = pdfFont.getGlyph(params.rt_glyphList[gi])
File "C:\FDK_29.09.2017\Tools\SharedData\FDKScripts\fontPDF.py", line 462, in
getGlyph
return self.clientGetGlyph(glyphName)
File "C:\FDK_29.09.2017\Tools\SharedData\FDKScripts\ttfPDF.py", line 106, in c
lientGetGlyph
return txPDFGlyph(self, glyphName)
File "C:\FDK_29.09.2017\Tools\SharedData\FDKScripts\fontPDF.py", line 588, in
__init__
self.clientInitData()
File "C:\FDK_29.09.2017\Tools\SharedData\FDKScripts\ttfPDF.py", line 159, in c
lientInitData
clientGlyph.draw(pen)
File "C:\FDK_29.09.2017\Tools\win\Python\AFDKOPython27\lib\site-packages\fontt
ools-3.15.2.dev0-py2.7.egg\fontTools\ttLib\__init__.py", line 776, in draw
glyph.draw(pen, glyfTable, offset)
File "C:\FDK_29.09.2017\Tools\win\Python\AFDKOPython27\lib\site-packages\fontt
ools-3.15.2.dev0-py2.7.egg\fontTools\ttLib\tables\_g_l_y_f.py", line 951, in dra
w
pen.addComponent(glyphName, transform)
File "C:\FDK_29.09.2017\Tools\win\Python\AFDKOPython27\lib\site-packages\fontt
ools-3.15.2.dev0-py2.7.egg\fontTools\pens\basePen.py", line 177, in addComponent
glyph = self.glyphSet[glyphName]
TypeError: 'NoneType' object has no attribute '__getitem__'
Drücken Sie eine beliebige Taste . . .
Metadata
Metadata
Assignees
Labels
No labels