core/render/font.c builds the atlas: FreeType 2.15.0 draws each glyph with light hinting, and the metrics are Nuklear's, so layout is unchanged. The Text module draws its fallback glyphs with FreeType too, and a font is checked by opening it with FreeType. NK_INCLUDE_FONT_BAKING and NK_INCLUDE_DEFAULT_FONT are off, which takes stb_truetype and stb_rect_pack out of the build. FreeType builds only its TrueType, CFF, autofit and smooth modules, and reaktor_ftoption.h drops what Reaktor never reads, its environment override among them. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
8 lines
143 B
C
8 lines
143 B
C
#include <SDL3/SDL.h>
|
|
|
|
#define NK_IMPLEMENTATION
|
|
#include "nk_common.h"
|
|
|
|
#define NK_SDL3_RENDERER_IMPLEMENTATION
|
|
#include "nk_sdl3_renderer.h"
|