Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
KishinZW opened this issue Mar 24, 2020 · 1 comment
Open

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

KishinZW opened this issue Mar 24, 2020 · 1 comment

Comments

@KishinZW
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants