Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

fix(android): font_scan needs the style flags it is documented in terms of

esengine56032fda09f0
diff --git a/native/host/media/font_scan.hpp b/native/host/media/font_scan.hpp
index 979e08d74..4f16d700a 100644
--- a/native/host/media/font_scan.hpp
+++ b/native/host/media/font_scan.hpp
@@ -19,6 +19,7 @@
#pragma once
#include "Host.hpp"
+#include "glyph_raster.hpp" // GLYPH_BOLD / GLYPH_ITALIC — the `style` below is these
#include <string>