forked from sascha/godot
Ceil dynamic font glyph size
Fixes #15459. When oversampling is enabled, glyphs may have fractional size, but they are still rendered into integral pixels, which results in them taking more space than was anticiped by autowrapping algorithm. The solution here is to return ceiled width, which makes autowrapper consider characters a bit larger than they are, but it doesn't hurt the actual rendering and ensures there is enough space for the characters.3.1
parent
a8bbb708a8
commit
aa8561ded4
Loading…
Reference in New Issue