aboutsummaryrefslogtreecommitdiff
path: root/scene/resources/dynamic_font.cpp
diff options
context:
space:
mode:
authorRuslan Mustakov2018-05-14 20:18:44 +0700
committerRuslan Mustakov2018-05-14 20:32:14 +0700
commitd5a0b5f35b22658f5c575e2f494ebd3f3239b8cc (patch)
treedc07f1f58bbcffa6d66d1685663b3ff9771ccb21 /scene/resources/dynamic_font.cpp
parent8c71cbbe3fcd45cc1459c24a712273d143ef6879 (diff)
downloadgodot-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.cpp2
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;
}