use RLE compressed fonts on Horus

This commit is contained in:
Raphael Coeffic
2018-07-06 08:59:34 +02:00
parent caaba0ab3f
commit 96afa57d84
10 changed files with 106 additions and 14 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ with open(output_filename, "w") as f:
extension = os.path.splitext(output_filename)[1]
out = F_writeValue(f)
if extension == ".rle":
if extension == ".rle" or ((len(sys.argv) > 5) and (sys.argv[5] == "rle")):
encoder = RLE_encoder(out)
else:
encoder = dummy_encoder(out)