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)
parser.add_argument('-negoffset','--negoffset',type=str,nargs='?',dest='negSymbolOffset',help='The amount (in hex) to negative offset the range by for the source font')
parser.add_argument('-nogaps','--nogaps',action='store_true',dest='nogaps',help='Generates the codepoints in a continous codepoints with the given range (no empties/gaps)')