这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@fracsinus
Copy link
Contributor

nerd-fonts/font-patcher

Lines 416 to 419 in bc4416e

elif self.args.removeligatures:
print("Unable to read configfile, unable to remove ligatures")
else:
print("No configfile given, skipping configfile related actions")

It seems that the elif block is meant to check the case where:

  • --removeligatures is set
  • AND no config file is provided.

I guess those blocks are over-indented? For now, no warning or info message is printed even in the very case.

@fracsinus fracsinus changed the title (font-patcher): fix over-indentation font-patcher: fix over-indentation Jul 25, 2021
@Finii
Copy link
Collaborator

Finii commented Oct 8, 2021

I can second @fracsinus here, the marked four lines need to be 'one indent step' more to the left.

Great find 👍

@Finii
Copy link
Collaborator

Finii commented Oct 8, 2021

@fracsinus I would change the title to state what is the effect of the issue; at first I thought that the glyphs are indentat in the font file or something ;-D

Something along the lines 'Remove ligature warnings never displayed' or so.

@fracsinus fracsinus changed the title font-patcher: fix over-indentation font-patcher: remove_ligatures() never displays warnings Oct 14, 2021
@fracsinus
Copy link
Contributor Author

@Finii Thanks for nice advice! Just changed the title 👍

@ryanoasis
Copy link
Owner

Yes good find. I'll test it out soon. Thanks!

@ryanoasis
Copy link
Owner

yep that's how it was/is supposed to be

@ryanoasis ryanoasis merged commit 045a094 into ryanoasis:master Nov 18, 2021
@Finii Finii mentioned this pull request Sep 22, 2022
LNKLEO pushed a commit to LNKLEO/Nerd that referenced this pull request Nov 24, 2023
font-patcher: remove_ligatures() never displays warnings
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

Successfully merging this pull request may close these issues.

3 participants