aboutsummaryrefslogtreecommitdiff
path: root/vendor/kb_text_shape
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2025-06-20 08:38:20 +0100
committergingerBill <bill@gingerbill.org>2025-06-20 08:38:20 +0100
commit61edcdbfc5baeb8a2259d9a4a11b73d548bacb62 (patch)
treeb07ec60ce937352fdda103f51eda15d65268b8ed /vendor/kb_text_shape
parent63f1c5139a569e340ae121937efb08a503889c2a (diff)
Add lib and build script (Windows Only)
Diffstat (limited to 'vendor/kb_text_shape')
-rw-r--r--vendor/kb_text_shape/lib/kb_text_shape.libbin0 -> 710778 bytes
-rw-r--r--vendor/kb_text_shape/src/build.bat8
-rw-r--r--vendor/kb_text_shape/src/kb_text_shape.c5
3 files changed, 13 insertions, 0 deletions
diff --git a/vendor/kb_text_shape/lib/kb_text_shape.lib b/vendor/kb_text_shape/lib/kb_text_shape.lib
new file mode 100644
index 000000000..9ec799712
--- /dev/null
+++ b/vendor/kb_text_shape/lib/kb_text_shape.lib
Binary files differ
diff --git a/vendor/kb_text_shape/src/build.bat b/vendor/kb_text_shape/src/build.bat
new file mode 100644
index 000000000..b37b219e7
--- /dev/null
+++ b/vendor/kb_text_shape/src/build.bat
@@ -0,0 +1,8 @@
+@echo off
+
+if not exist "..\lib" mkdir ..\lib
+
+cl -nologo -MT -TC -O2 -c kb_text_shape.c
+lib -nologo kb_text_shape.obj -out:..\lib\kb_text_shape.lib
+
+del *.obj
diff --git a/vendor/kb_text_shape/src/kb_text_shape.c b/vendor/kb_text_shape/src/kb_text_shape.c
new file mode 100644
index 000000000..041023013
--- /dev/null
+++ b/vendor/kb_text_shape/src/kb_text_shape.c
@@ -0,0 +1,5 @@
+#include <stdlib.h>
+#include <stdint.h>
+
+#define KB_TEXT_SHAPE_IMPLEMENTATION
+#include "kb_text_shape.h" \ No newline at end of file