Merge branch 'main' of git.chauvet.pro:starnakin/42_KFS
This commit is contained in:
commit
2edc92bbcc
File diff suppressed because it is too large
Load Diff
@ -36,6 +36,8 @@ for id, x, y, width, height, xoffset, yoffset, xadvance in re.findall(r"id=(\d+)
|
|||||||
string: str = f"""\
|
string: str = f"""\
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
#include "font.h"
|
#include "font.h"
|
||||||
|
|
||||||
struct font {font_name}_font[] = {{\\\
|
struct font {font_name}_font[] = {{\\\
|
||||||
@ -59,7 +61,7 @@ for charactere in characteres:
|
|||||||
.bitmap = NULL,
|
.bitmap = NULL,
|
||||||
}},\
|
}},\
|
||||||
"""
|
"""
|
||||||
string += "\n}};"
|
string += "\n};"
|
||||||
|
|
||||||
if not os.path.exists("./headers/fonts"):
|
if not os.path.exists("./headers/fonts"):
|
||||||
os.makedirs("./headers/fonts")
|
os.makedirs("./headers/fonts")
|
||||||
|
Loading…
Reference in New Issue
Block a user