summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2024-01-12 03:45:33 +0100
committerMitya Selivanov <automainint@guattari.tech>2024-01-12 03:45:33 +0100
commit9417f59a071174424f88a206f7789c863d9eb718 (patch)
tree4a189254d5436d87fcb23ace6dee256d463043e9
parentae69ac2aa9aa1dce53849bb6728daea017fe96ff (diff)
downloadsaw-9417f59a071174424f88a206f7789c863d9eb718.zip
Move font and codegen to the source folder
-rw-r--r--source/saw/_gen.c (renamed from gen_font.c)4
-rw-r--r--source/saw/domitian_roman.ttf (renamed from domitian_roman.ttf)bin198512 -> 198512 bytes
2 files changed, 2 insertions, 2 deletions
diff --git a/gen_font.c b/source/saw/_gen.c
index 952e2ac..0c4e4a6 100644
--- a/gen_font.c
+++ b/source/saw/_gen.c
@@ -1,5 +1,5 @@
#if 0
-gcc -fsanitize=undefined,address,leak -o gen_font gen_font.c && ./gen_font && rm gen_font
+gcc -fsanitize=undefined,address,leak -o _gen _gen.c && ./_gen && rm _gen
exit
#endif
@@ -8,7 +8,7 @@ exit
int main(int argc, char **argv) {
FILE *in = fopen("domitian_roman.ttf", "rb");
- FILE *out = fopen("source/saw/font.inl.h", "wb");
+ FILE *out = fopen("font.inl.h", "wb");
assert(in != NULL);
assert(out != NULL);
diff --git a/domitian_roman.ttf b/source/saw/domitian_roman.ttf
index 01c0ee6..01c0ee6 100644
--- a/domitian_roman.ttf
+++ b/source/saw/domitian_roman.ttf
Binary files differ