docs: Enhance fonttools installation instructions and error messages to differentiate between pip and pipx usage.
This commit is contained in:
@@ -13,7 +13,8 @@ try:
|
||||
from fontTools.ttLib import TTFont
|
||||
except ImportError:
|
||||
print("Error: 'fonttools' is required to accurately read internal font names.")
|
||||
print("Please install it by running: pip install fonttools")
|
||||
print("Please install it by running: pip install fonttools (for Windows/Ubuntu)")
|
||||
print("Or: pipx install fonttools (for ArchLinux)")
|
||||
sys.exit(1)
|
||||
|
||||
def get_ass_font_names(ass_path):
|
||||
|
||||
Reference in New Issue
Block a user