library: vendors/kb_text_shape + vendors/file_utils; modules/ffi/stb_truetype.sx retired
kb_text_shape (v2.10, JimmyLefevre) had been LOST from the sx tree — ffi/stb_truetype.sx referenced repo paths that no longer existed (and nothing runs glyph_cache, so the dangling unit never fired). The trimmed copy returns from the m3te project as a proper vendor: curated c/kbts_api.h decls over the full upstream header, README with provenance, and examples/1627 pinning context + font creation so the unit compiles and runs in-suite. file_utils (in-house asset-read helper with the Android AAssetManager hook) gets the same unit shape. modules/ffi/stb_truetype.sx is gone: glyph_cache imports the three vendored units (stb_truetype, kb_text_shape, file_utils) directly.
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
// Font stack for the ui modules: the sx-shipped stb_truetype
|
||||
// (vendors/stb_truetype/) plus the in-repo text-shaping companions
|
||||
// (file_utils, kb_text_shape — repo-root vendors/, not yet promoted
|
||||
// to the library).
|
||||
#import "vendors/stb_truetype/stb_truetype.sx";
|
||||
|
||||
#import c {
|
||||
#include "vendors/file_utils/file_utils.h";
|
||||
#source "vendors/file_utils/file_utils.c";
|
||||
|
||||
#include "vendors/kb_text_shape/kbts_api.h";
|
||||
#source "vendors/kb_text_shape/kb_text_shape_impl.c";
|
||||
};
|
||||
@@ -3,7 +3,9 @@
|
||||
#import "modules/ffi/opengl.sx";
|
||||
#import "modules/gpu/types.sx";
|
||||
#import "modules/gpu/api.sx";
|
||||
#import "modules/ffi/stb_truetype.sx";
|
||||
#import "vendors/stb_truetype/stb_truetype.sx";
|
||||
#import "vendors/kb_text_shape/kb_text_shape.sx";
|
||||
#import "vendors/file_utils/file_utils.sx";
|
||||
#import "vendors/stb_image/stb_image.sx";
|
||||
#import "modules/ui/types.sx";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user