diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-11-17 11:39:18 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-11-17 11:39:18 +0100 |
commit | 909ee26e03d6a7f93b83fad9709139565a62629a (patch) | |
tree | 0e7a72d66fe71f3c36ccce68342e983ce82c3ecd /include/mgl/graphics/font.h | |
parent | a14eb65e82d226fe8b33ca23d29eeba02066357d (diff) |
Readd kerning
Diffstat (limited to 'include/mgl/graphics/font.h')
-rw-r--r-- | include/mgl/graphics/font.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mgl/graphics/font.h b/include/mgl/graphics/font.h index 6b7eb34..4bd0428 100644 --- a/include/mgl/graphics/font.h +++ b/include/mgl/graphics/font.h @@ -40,6 +40,6 @@ void mgl_font_unload(mgl_font *self); int mgl_font_get_glyph(mgl_font *self, uint32_t codepoint, mgl_font_glyph *glyph); /* Returns the kerning */ -int mgl_font_get_kerning(const mgl_font *self, uint32_t prev_codepoint, uint32_t codepoint); +float mgl_font_get_kerning(const mgl_font *self, uint32_t prev_codepoint, uint32_t codepoint); #endif /* MGL_FONT_H */ |