summaryrefslogtreecommitdiff
path: root/src/font.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/font.hpp')
-rw-r--r--src/font.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/font.hpp b/src/font.hpp
index 4d0d0a7..9be881c 100644
--- a/src/font.hpp
+++ b/src/font.hpp
@@ -46,7 +46,7 @@ struct FontTypeMSDFSettings {
float px_range;
};
struct FontTypeSpacing {
- double geometryScale;
+ double geometry_scale;
double em_size;
double ascender_y;
double descender_y;
@@ -93,7 +93,7 @@ void FontType_Tick();
void FontType_Serialize(std::ofstream &stream, FontType *ft);
void FontType_Deserialize(std::ifstream &stream);
FontType* FontType_GetFonts(FontTypeIndex &count);
-FontTypeIndex FontType_RegisterFont(pk_cstr title, AssetHandle fontTextureHandle, AssetHandle glyphsHandle);
+FontTypeIndex FontType_RegisterFont(pk_cstr title, AssetHandle fontTextureHandle, AssetHandle glyphsHandle, FontTypeSpacing *spacing);
void FontType_Unload(FontTypeIndex idx);
FontRender FontType_AddStringRender(FontTypeIndex idx_ft, pk_cstr cstr);
void FontType_RemoveStringRender(FontRender fr);