sys.exit(projectName+": FontForge module is probably not installed. [See: http://designwithfontforge.com/en-US/Installing_Fontforge.html]")
importre
importos
importargparse
fromargparseimportRawTextHelpFormatter
importerrno
importsubprocess
try:
#Load the module
importfontforge
exceptImportError:
sys.exit(projectName+": FontForge module could not be loaded. Try installing fontforge python bindings [e.g. on Linux Debian or Ubuntu: `sudo apt install fontforge python-fontforge`]")
parser=argparse.ArgumentParser(description='Nerd Fonts Glyph Info Generator: displays code point and glyph names from given set\n\n* Website: https://www.nerdfonts.com\n* Version: '+version+'\n* Development Website: https://github.com/ryanoasis/nerd-fonts\n* Changelog: https://github.com/ryanoasis/nerd-fonts/blob/master/changelog.md',formatter_class=RawTextHelpFormatter)