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

Refactor font-organizer #178

Merged
merged 2 commits into from
Jul 12, 2024
Merged

Refactor font-organizer #178

merged 2 commits into from
Jul 12, 2024

Conversation

ftCLI
Copy link
Owner

@ftCLI ftCLI commented Jul 12, 2024

No description provided.

ftCLI added 2 commits July 12, 2024 10:46
The 'strip_foundry' option has been removed from the font_organizer function in the 'ftcli_utils.py' file. Now, the font foundry name will be stripped of white spaces at its beginning and end by default for all sort operations.
Added a check in the file rename function in ftcli_utils. This checks whether the output file name is the same as the current file name. If it's the same, it skips the renaming process.

This, in case the command is run twice, avoids renaming font files by adding the #1 prefix
@ftCLI ftCLI merged commit d143cdc into main Jul 12, 2024
3 checks passed
@ftCLI ftCLI deleted the dev branch July 12, 2024 09:06
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.

1 participant