diff options
| author | Ruslan Mustakov | 2018-05-14 20:18:44 +0700 |
|---|---|---|
| committer | Ruslan Mustakov | 2018-05-14 20:32:14 +0700 |
| commit | d5a0b5f35b22658f5c575e2f494ebd3f3239b8cc (patch) | |
| tree | dc07f1f58bbcffa6d66d1685663b3ff9771ccb21 /scene/resources/dynamic_font.cpp | |
| parent | 8c71cbbe3fcd45cc1459c24a712273d143ef6879 (diff) | |
| download | godot-d5a0b5f35b22658f5c575e2f494ebd3f3239b8cc.tar.gz godot-d5a0b5f35b22658f5c575e2f494ebd3f3239b8cc.tar.zst godot-d5a0b5f35b22658f5c575e2f494ebd3f3239b8cc.zip | |
Diffstat (limited to 'scene/resources/dynamic_font.cpp')
| -rw-r--r-- | scene/resources/dynamic_font.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/scene/resources/dynamic_font.cpp b/scene/resources/dynamic_font.cpp index f0870349d..05493d577 100644 --- a/scene/resources/dynamic_font.cpp +++ b/scene/resources/dynamic_font.cpp @@ -307,8 +307,6 @@ Size2 DynamicFontAtSize::get_char_size(CharType p_char, CharType p_next, const V } ret.x += _get_kerning_advance(font, p_char, p_next); - // ensures oversampled glyphs will have enough space when this value is used by clipping/wrapping algorithms - ret.x = Math::ceil(ret.x); return ret; } |
