Asset Packer: Fix font terminator causing freezes/crashes (#295)

* Asset Packer: Fix font terminator causing freezes/crashes

* Update changelog
This commit is contained in:
WillyJL
2024-11-10 05:08:52 +00:00
committed by GitHub
parent bacafc417f
commit 9e4ff668f4
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -200,6 +200,7 @@
- OFW: Fix detection of GProx II cards and false detection of other cards (by @Astrrra)
- OFW: Fix Guard GProxII False Positive and 36-bit Parsing (by @zinongli)
- OFW: GProxII Fix Writing and Rendering Conflict (by @zinongli)
- Asset Packer: Fix font terminator causing freezes/crashes, like in Marauder AP scan/list (#295 by @Willy-JL)
- Desktop:
- Fallback Poweroff prompt when power settings is unavailable (by @Willy-JL)
- Sub-GHz:
+1
View File
@@ -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():