From 8350741f0d844a6de21b383018402c48ddbe292f Mon Sep 17 00:00:00 2001 From: pat-e Date: Mon, 2 Mar 2026 23:41:27 +0100 Subject: [PATCH] docs: Update Arch Linux fonttools installation instructions to use `pacman` instead of `pipx`. --- README.md | 4 ++-- subtitle_fonts_cleaner.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 40725c8..f73d458 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,9 @@ For Windows or Ubuntu, you can use `pip`: pip install fonttools ``` -For ArchLinux (or if your system enforces PEP 668), it is recommended to use `pipx`: +For Arch Linux (which enforces PEP 668), you should use `pacman` to install the system package: ```bash -pipx install fonttools +sudo pacman -S python-fonttools ``` ## Usage diff --git a/subtitle_fonts_cleaner.py b/subtitle_fonts_cleaner.py index 0e3de73..1bc0ae4 100644 --- a/subtitle_fonts_cleaner.py +++ b/subtitle_fonts_cleaner.py @@ -14,7 +14,7 @@ try: except ImportError: print("Error: 'fonttools' is required to accurately read internal font names.") print("Please install it by running: pip install fonttools (for Windows/Ubuntu)") - print("Or: pipx install fonttools (for ArchLinux)") + print("Or: sudo pacman -S python-fonttools (for Arch Linux)") sys.exit(1) def get_ass_font_names(ass_path):