add version to output config

This commit is contained in:
subframe7536 2024-12-14 17:49:19 +08:00
parent 7ef63631c6
commit 15d3b4f08a

View file

@ -996,6 +996,7 @@ def main():
joinPaths(build_option.output_dir, "build-config.json"), "w", encoding="utf-8" joinPaths(build_option.output_dir, "build-config.json"), "w", encoding="utf-8"
) as config_file: ) as config_file:
result = { result = {
"version": FONT_VERSION,
"family_name": font_config.family_name, "family_name": font_config.family_name,
"use_hinted": font_config.use_hinted, "use_hinted": font_config.use_hinted,
"ligature": font_config.enable_liga, "ligature": font_config.enable_liga,