Skip to content

Commit 25410f5

Browse files
committed
add base char size to font_cooker
1 parent 9a4308d commit 25410f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

font_cooker.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,7 @@
383383

384384
body += `#define font_TEX_SIZE_X ${font_canvas.width}\n`;
385385
body += `#define font_TEX_SIZE_Y ${font_canvas.height}\n`;
386+
body += `#define font_BASE_CHAR_SIZE ${SDF_FONT_SIZE}\n`;
386387
body += `uint8_t font_tex_bytes[${bytes.length}] = {`;
387388
outer:
388389
for (let i = 0; true;) {

0 commit comments

Comments
 (0)