unifont 字体渲染尺寸改为 64px

This commit is contained in:
mawei
2026-06-03 20:30:42 +08:00
parent 1bff880a88
commit 10bf80af09
+1 -1
View File
@@ -90,7 +90,7 @@ def _process_font(font_path: Path, codepoints: tuple[int, ...]):
print(f"Processing {font_path.name}...")
font_size = {
"unifont.otf": 16, # unifont is only 16x8 or 16x16 pixels per glyph
"unifont.otf": 64, # unifont is only 16x8 or 16x16 pixels per glyph
}.get(font_path.name, 200)
data = font_path.read_bytes()