From 4006edf7c690439ed649954f3bbb8256d1e2c468 Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Sun, 10 Nov 2024 05:29:58 +0000 Subject: [PATCH] Update asset packer with font freeze fix --- .utils/ext/asset_packer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/.utils/ext/asset_packer.py b/.utils/ext/asset_packer.py index 095b8997..14c0302a 100755 --- a/.utils/ext/asset_packer.py +++ b/.utils/ext/asset_packer.py @@ -119,6 +119,7 @@ def pack_font(src: pathlib.Path, dst: pathlib.Path): .decode("unicode_escape") .encode("latin_1") ) + font += b"\0" dst.with_suffix(".u8f").write_bytes(font) elif src.suffix == ".u8f": if not dst.is_file():