ToxicFrog / Ligaturizer

Programming Fonts with Ligatures added (& a script to add them to other fonts)
GNU General Public License v3.0
2.19k stars 112 forks source link

EnvironmentError: A lookup named lookup.1.0 already exists #84

Open KishinZW opened 4 years ago

KishinZW commented 4 years ago

I use WSL Ubuntu 18.04.2 LTS bionic, got this error:

Traceback (most recent call last):
  File "build.py", line 105, in <module>
    scale_character_glyphs_threshold=SCALE_CHARACTER_GLYPHS_THRESHOLD)
  File "/home/dell/Ligaturizer/ligaturize.py", line 275, in ligaturize_font
    creator.add_ligature(lig_spec['chars'], lig_spec['firacode_ligature_name'])
  File "/home/dell/Ligaturizer/ligaturize.py", line 158, in add_ligature
    self.font.addLookup(lookup_name(i), 'gsub_single', (), ())
EnvironmentError: A lookup named lookup.1.0 already exists  

The font I tried to ligaturize is Droid Sans Mono Nerd Font Complete Windows Compatible.

tarunzoot commented 2 years ago

if you have added your font name to renamed_font then comment that, then this will work