diff --git a/src/Font.cpp b/src/Font.cpp index 406aaf7d9f..f4df3b1658 100644 --- a/src/Font.cpp +++ b/src/Font.cpp @@ -157,6 +157,11 @@ void FontPage::SetTextureCoords( const vector &widths, int iAdvanceExtraPix void FontPage::SetExtraPixels( int iDrawExtraPixelsLeft, int iDrawExtraPixelsRight ) { + // Most fonts don't take the stroke into account, so if it shows up, it'll + // be cut off. I now understand why this code was here before. -freem + iDrawExtraPixelsRight++; + iDrawExtraPixelsLeft++; + if( (iDrawExtraPixelsLeft % 2) == 1 ) ++iDrawExtraPixelsLeft;