cake
/
libg1m
Archived
1
0
Fork 0
This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
libg1m/tools/check-set

12 lines
300 B
Python
Executable File

#!/usr/bin/env python3
# Dependencies
import os, sys
from fontcharacter import Reference
# Open the reference
refpath = os.path.join(os.path.dirname(__file__), 'fontcharacter_reference')
ref = Reference(refpath, sets_only=True)
# Exit with the correct code
exit(not sys.argv[1] in ref.sets.keys())