improve logs
This commit is contained in:
parent
b0e7abe8f2
commit
46b42b11d7
2 changed files with 3 additions and 3 deletions
4
build.py
4
build.py
|
@ -987,7 +987,7 @@ def main():
|
|||
makedirs(build_option.output_variable, exist_ok=True)
|
||||
|
||||
start_time = time.time()
|
||||
print("🚩 Start building ...")
|
||||
print("🚩 Start building ...\n")
|
||||
|
||||
# =========================================================================================
|
||||
# =================================== Build basic =====================================
|
||||
|
@ -1001,7 +1001,7 @@ def main():
|
|||
for input_file in input_files:
|
||||
font = TTFont(input_file)
|
||||
basename = path.basename(input_file)
|
||||
print(f"\n👉 Variable version for {basename}")
|
||||
print(f"👉 Variable version for {basename}")
|
||||
|
||||
# fix auto rename by FontLab
|
||||
rename_glyph_name(
|
||||
|
|
|
@ -192,7 +192,7 @@ def match_unicode_names(file_path: str) -> dict[str, str]:
|
|||
|
||||
# https://github.com/subframe7536/maple-font/issues/314
|
||||
def verify_glyph_width(font: TTFont, expect_widths: list[int]):
|
||||
print("Checking glyph width...")
|
||||
print("Verify glyph width")
|
||||
result: tuple[str, int] = []
|
||||
for name in font.getGlyphOrder():
|
||||
width, _ = font["hmtx"][name]
|
||||
|
|
Loading…
Reference in a new issue