diff --git a/font_to_py.py b/font_to_py.py index 8f8fb3d..d146aea 100755 --- a/font_to_py.py +++ b/font_to_py.py @@ -618,7 +618,7 @@ if __name__ == "__main__": if not os.path.isfile(args.infile): quit("Font filename does not exist") - if not os.path.splitext(args.infile)[1].upper() in ('.TTF', '.OTF'): + if not os.path.splitext(args.infile)[1].upper() in ('.TTF', '.OTF', '.BDF'): quit("Font file should be a ttf or otf file.") if args.binary: