docs: Update Arch Linux fonttools installation instructions to use pacman instead of pipx.

This commit is contained in:
2026-03-02 23:41:27 +01:00
parent a8062a3687
commit 8350741f0d
2 changed files with 3 additions and 3 deletions

View File

@@ -25,9 +25,9 @@ For Windows or Ubuntu, you can use `pip`:
pip install fonttools 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 ```bash
pipx install fonttools sudo pacman -S python-fonttools
``` ```
## Usage ## Usage

View File

@@ -14,7 +14,7 @@ try:
except ImportError: except ImportError:
print("Error: 'fonttools' is required to accurately read internal font names.") print("Error: 'fonttools' is required to accurately read internal font names.")
print("Please install it by running: pip install fonttools (for Windows/Ubuntu)") 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) sys.exit(1)
def get_ass_font_names(ass_path): def get_ass_font_names(ass_path):