operator-mono-lig: Build fails on Windows
I’ve just purchased the Operator Mono SSm version for this project and when running “build” it fails
Compiling ".\build\OperatorMonoSSmLig-Book.ttx" to ".\build\OperatorMonoSSmLig-Book.otf"...
Parsing 'GlyphOrder' table...
Parsing 'head' table...
Parsing 'hhea' table...
Parsing 'maxp' table...
Parsing 'OS/2' table...
Parsing 'name' table...
Parsing 'cmap' table...
Parsing 'post' table...
Parsing 'CFF ' table...
Parsing 'GPOS' table...
Parsing 'GSUB' table...
Parsing 'hmtx' table...
Parsing 'DSIG' table...
ERROR: Unhandled exception has occurred
Traceback (most recent call last):
File "c:\python27\lib\site-packages\fontTools\ttx.py", line 399, in main
process(jobs, options)
File "c:\python27\lib\site-packages\fontTools\ttx.py", line 373, in process
action(input, output, options)
File "c:\python27\lib\site-packages\fontTools\misc\loggingTools.py", line 372, in wrapper
return func(*args, **kwds)
File "c:\python27\lib\site-packages\fontTools\ttx.py", line 291, in ttCompile
ttf.save(output)
File "c:\python27\lib\site-packages\fontTools\ttLib\ttFont.py", line 172, in save
writer_reordersTables = self._save(tmp)
File "c:\python27\lib\site-packages\fontTools\ttLib\ttFont.py", line 211, in _save
self._writeTable(tag, writer, done, tableCache)
File "c:\python27\lib\site-packages\fontTools\ttLib\ttFont.py", line 624, in _writeTable
self._writeTable(masterTable, writer, done, tableCache)
File "c:\python27\lib\site-packages\fontTools\ttLib\ttFont.py", line 628, in _writeTable
tabledata = self.getTableData(tag)
File "c:\python27\lib\site-packages\fontTools\ttLib\ttFont.py", line 646, in getTableData
return self.tables[tag].compile(self)
File "c:\python27\lib\site-packages\fontTools\ttLib\tables\C_F_F_.py", line 20, in compile
self.cff.compile(f, otFont, isCFF2=False)
File "c:\python27\lib\site-packages\fontTools\cffLib\__init__.py", line 108, in compile
topDict.recalcFontBBox()
File "c:\python27\lib\site-packages\fontTools\cffLib\__init__.py", line 2340, in recalcFontBBox
bounds = charString.calcBounds(self.CharStrings)
File "c:\python27\lib\site-packages\fontTools\misc\psCharStrings.py", line 984, in calcBounds
self.draw(boundsPen)
File "c:\python27\lib\site-packages\fontTools\misc\psCharStrings.py", line 979, in draw
extractor.execute(self)
File "c:\python27\lib\site-packages\fontTools\misc\psCharStrings.py", line 301, in execute
rv = handler(index)
File "c:\python27\lib\site-packages\fontTools\misc\psCharStrings.py", line 340, in op_callsubr
self.execute(subr)
File "c:\python27\lib\site-packages\fontTools\misc\psCharStrings.py", line 301, in execute
rv = handler(index)
File "c:\python27\lib\site-packages\fontTools\misc\psCharStrings.py", line 591, in op_rlineto
self.rLineTo(point)
File "c:\python27\lib\site-packages\fontTools\misc\psCharStrings.py", line 525, in rLineTo
self.pen.lineTo(self._nextPoint(point))
File "c:\python27\lib\site-packages\fontTools\misc\psCharStrings.py", line 514, in _nextPoint
point = x + point[0], y + point[1]
IndexError: list index out of range
Similar errors appear for every single font-file and at the end, it’s all empty (0-bytes) otf-files in the build-folder.
Is there a specific version of the font-tools that it works best with? I’m not familiar with Python and currently at a loss.
Thanks for any help you guys can provide.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 1
- Comments: 35 (12 by maintainers)
I installed
fonttoolsversion3.14.0and it compiled successfully.The build was broken with
fonttoolson version>=3.15.0. Hope that helps.edit:
the ligatures failed to render properly though… (IntelliJ IDEA)
Actually don’t work and i have tried with fonttools 3.14.0, why this issue is closed? this not as been solved
Can verify @shriprem findings as well. Builds with clone not download.
@duckyb sorry you’re having issues. I haven’t really tested this on Ubuntu, but technically it should work as it just generates standard OpenType fonts.
Can you send me the generated font so I can see what the issue is? kiliman@gmail.com
Thanks!
build.sh did not return any errors and outputted
\build\OperatorMonoLig-Book.otf. However, after installing the font and applying it, many ligatures appear to be broken. For the time being I will revert to the original font and I’ll keep an eye for any updates on this repository.Cheers
@mcarter101 No need to explain. We appreciate the work you have put in here. I would help if I could but I’m in the same boat as you with work.
@jgardner04 Thanks for the update. I’m not sure what the issue is as it works fine on mine… not a nice consolation for those that can’t get it to work. Hopefully we’ll be able to figure it out.
I’ve been super busy with work, so haven’t had much time to work on this. Things are going to be crazy for a few more weeks… big project launch next week, so thanks to everyone for their patience.