diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-01-06 18:33:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-06 18:33:20 +0100 |
commit | 3873f84548cd91ec62b9cb045e75158df74e19f9 (patch) | |
tree | 6ea447a629c3df5f8796095d267702afaec52b2e /scene/resources/dynamic_font.h | |
parent | 53516d7a9ec7119b3a23e5fc3fd1c61dc1e3074c (diff) | |
parent | a9b7843dca3ea3eda9f9f890a3e2c78542ca7561 (diff) |
Merge pull request #24777 from volzhs/font-kerning
Fix font kerning
Diffstat (limited to 'scene/resources/dynamic_font.h')
-rw-r--r-- | scene/resources/dynamic_font.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scene/resources/dynamic_font.h b/scene/resources/dynamic_font.h index df54203080..39e81ca43d 100644 --- a/scene/resources/dynamic_font.h +++ b/scene/resources/dynamic_font.h @@ -164,7 +164,6 @@ class DynamicFontAtSize : public Reference { const Pair<const Character *, DynamicFontAtSize *> _find_char_with_font(CharType p_char, const Vector<Ref<DynamicFontAtSize> > &p_fallbacks) const; Character _make_outline_char(CharType p_char); - float _get_kerning_advance(const DynamicFontAtSize *font, CharType p_char, CharType p_next) const; TexturePosition _find_texture_pos_for_glyph(int p_color_size, Image::Format p_image_format, int p_width, int p_height); Character _bitmap_to_character(FT_Bitmap bitmap, int yofs, int xofs, float advance); |