ofolis / consolig

Consolas with custom programming ligatures
SIL Open Font License 1.1
45 stars 2 forks source link

Build fails with Consolas from MS Office on macOS #27

Open kurabirko opened 3 years ago

kurabirko commented 3 years ago

I am trying to build Consolig using Consolas from MS Office Word on macOS with python 3.9.0 and fontTools 4.22.1. I get the following output which I could not resolve

Setting up directories
Generating Consolig-Regular.ttf from consola.ttf
  Exporting XML from TTF files
  Parsing XML element trees
  Creating glyph whitelist
  Appending new glyph IDs
  Appending new glyph spacing definitions
  Appending new glyph map entries
  Appending new glyph geometry
  Appending new raster hinting
Traceback (most recent call last):
  File "/Users/birk0/Working/tex/consolig/build.py", line 183, in <module>
    input_fpgm_assembly_element = input_et.getroot().find('fpgm').find('assembly')
AttributeError: 'NoneType' object has no attribute 'find'
ofolis commented 2 years ago

Not sure what's up. I'll try to recreate on my side.