fix: pretty print sets

This commit is contained in:
2026-11-07 18:50:52 +01:00
parent f9f2541b77
commit 3df73dc2e5
2 changed files with 11 additions and 13 deletions
+1 -3
View File
@@ -16,9 +16,7 @@ class GlyphSet:
line = f"{pretty_hex(self.index)}, {self.length}"
if not last:
line += ","
else:
line += " "
return line + f" // {self.name}"
return line.ljust(12) + f"// {self.name}"
@classmethod
def export_glsl(cls, name: str, sets: list[GlyphSet], indent: int = 4) -> list[str]: