Merge branch 'main' of git.chauvet.pro:starnakin/42_KFS

This commit is contained in:
0x35c 2024-12-11 21:20:34 +01:00
commit 2edc92bbcc
2 changed files with 1007 additions and 921 deletions

File diff suppressed because it is too large Load Diff

View File

@ -36,6 +36,8 @@ for id, x, y, width, height, xoffset, yoffset, xadvance in re.findall(r"id=(\d+)
string: str = f"""\
#pragma once
#include <stddef.h>
#include "font.h"
struct font {font_name}_font[] = {{\\\
@ -59,7 +61,7 @@ for charactere in characteres:
.bitmap = NULL,
}},\
"""
string += "\n}};"
string += "\n};"
if not os.path.exists("./headers/fonts"):
os.makedirs("./headers/fonts")