diff --git a/src/SFML/Graphics/Font.cpp b/src/SFML/Graphics/Font.cpp index dbe4de9f..4576987c 100644 --- a/src/SFML/Graphics/Font.cpp +++ b/src/SFML/Graphics/Font.cpp @@ -601,7 +601,7 @@ Glyph Font::loadGlyph(Uint32 codePoint, unsigned int characterSize, bool bold, f { // Leave a small padding around characters, so that filtering doesn't // pollute them with pixels from neighbors - const unsigned int padding = 1; + const unsigned int padding = 2; width += 2 * padding; height += 2 * padding; diff --git a/src/SFML/Graphics/Text.cpp b/src/SFML/Graphics/Text.cpp index 45172c87..7cb4f889 100644 --- a/src/SFML/Graphics/Text.cpp +++ b/src/SFML/Graphics/Text.cpp @@ -50,7 +50,7 @@ namespace // Add a glyph quad to the vertex array void addGlyphQuad(sf::VertexArray& vertices, sf::Vector2f position, const sf::Color& color, const sf::Glyph& glyph, float italicShear, float outlineThickness = 0) { - float padding = 0.5; + float padding = 1.0; float left = glyph.bounds.left - padding; float top = glyph.bounds.top - padding;