diff options
| author | Riley Beckett <rbeckettvt@gmail.com> | 2025-10-12 19:19:03 -0400 |
|---|---|---|
| committer | Riley Beckett <rbeckettvt@gmail.com> | 2025-10-12 19:19:03 -0400 |
| commit | 458f9d0b5f1b83d3f2e11cead790cdf6ac867e11 (patch) | |
| tree | ae3dd115a00695eec838d62a4181b2753dbb89b0 /state.h | |
| parent | d71f3c26c26c22ac6782944f5732274abe64f8f8 (diff) | |
get width of string
Diffstat (limited to 'state.h')
| -rw-r--r-- | state.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -21,13 +21,13 @@ typedef struct { float advance_x, advance_y; uint32_t bitmap_width, bitmap_height; - uint32_t texture_offset; -} metrics_t; + float texture_offset; +} metric_t; typedef struct { uint32_t width, height; GLuint texture; - metrics_t metrics[128]; + metric_t metrics[128]; } atlas_t; typedef struct { @@ -66,6 +66,7 @@ typedef struct { FT_Library ft_library; FT_Face ft_face; + FT_Int32 load_flags; atlas_t atlas; |
