From dd3996fd19721ddfed2f14cc0954c6f95df07054 Mon Sep 17 00:00:00 2001 From: thiagomucci Date: Thu, 23 Jul 2026 15:35:13 -0400 Subject: [PATCH] Add FONT_SIZE_METRIC definitions to raylib.h --- src/raylib.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/raylib.h b/src/raylib.h index 92bf7436a..edabd1e85 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -913,6 +913,12 @@ typedef enum { FONT_SDF // SDF font generation, requires external shader } FontType; +// Font size metric types +typedef enum { + FONT_SIZE_METRIC_EM_BOX = 0, + FONT_SIZE_METRIC_ASCENT +} FontSizeMetric; + // Color blending modes (pre-defined) typedef enum { BLEND_ALPHA = 0, // Blend textures considering alpha (default)