more minor changes

This commit is contained in:
minjaesong
2026-03-01 14:07:47 +09:00
parent 0811971a8e
commit 3c9bc38dfd
6 changed files with 8 additions and 49 deletions

View File

@@ -373,8 +373,8 @@ def build_font(assets_dir, output_path, no_bitmap=False, no_features=False):
fea_stream = io.StringIO(fea_code)
addOpenTypeFeatures(font, fea_stream)
# Obtain raw .fea text for debugging
# with open("debugout_features.fea", "w") as text_file:
# text_file.write(fea_code)
with open("debugout_features.fea", "w") as text_file:
text_file.write(fea_code)
print(" Features compiled successfully")
except Exception as e:
print(f" [WARNING] Feature compilation failed: {e}")