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
|
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
|
||||||
|
|||||||
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user