docs: Update Arch Linux fonttools installation instructions to use pacman instead of pipx.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user