diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-11-17 11:40:54 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-11-17 11:40:54 +0100 |
commit | ff7593f5e6ee131eefe5d1e793626fe05a9513b1 (patch) | |
tree | 575238ad3b9306f1d5b41656b5e772ef28c90149 /src/graphics | |
parent | 929402828d99810211c644ce4ecf07b98013be10 (diff) |
Readd kerning
Diffstat (limited to 'src/graphics')
-rw-r--r-- | src/graphics/Font.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics/Font.cpp b/src/graphics/Font.cpp index b3ef54c..535daae 100644 --- a/src/graphics/Font.cpp +++ b/src/graphics/Font.cpp @@ -28,7 +28,7 @@ namespace mgl { return font_glyph; } - int Font::get_kerning(uint32_t prev_codepoint, uint32_t codepoint) { + float Font::get_kerning(uint32_t prev_codepoint, uint32_t codepoint) { return mgl_font_get_kerning(&font, prev_codepoint, codepoint); } |