diff options
author | pommicket <pommicket@gmail.com> | 2023-07-18 12:05:33 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-07-19 19:02:27 -0400 |
commit | 533345302e16ff8b485cc719d6bf8c1f5d043445 (patch) | |
tree | a7bbe5191056c324a65b8a1f5c33998eb8ed0dd1 /stb_truetype.c | |
parent | 4f58c385b96d7f28cec02d0c7518665a9d6297a3 (diff) |
an initial draft of the new font rendering
Diffstat (limited to 'stb_truetype.c')
-rw-r--r-- | stb_truetype.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/stb_truetype.c b/stb_truetype.c index 2df7a90..07af6b9 100644 --- a/stb_truetype.c +++ b/stb_truetype.c @@ -1,4 +1,4 @@ -// used for debug build to speed things up +// used to speed things up for debug build // just exports everything in stb_truetype.h @@ -17,7 +17,14 @@ #define no_warn_end #endif +#if !DEBUG +#define STBTT_STATIC +#define STBRP_STATIC +#endif #define STB_TRUETYPE_IMPLEMENTATION +#define STB_RECT_PACK_IMPLEMENTATION + no_warn_start +#include "lib/stb_rect_pack.h" #include "lib/stb_truetype.h" no_warn_end |