kopia lustrzana https://github.com/peterhinch/micropython-font-to-py
Initial support -- removed restriction to allow .bdf files
rodzic
f1a2e0984c
commit
ad731128d4
|
@ -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:
|
||||
|
|
Ładowanie…
Reference in New Issue