From ce50c6d569c29569e636ffcf66cce418dc91de45 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Thu, 19 Mar 2020 17:45:01 +0100 Subject: [PATCH] that didn't work lol --- MLEM.Extended/Font/GenericBitmapFont.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/MLEM.Extended/Font/GenericBitmapFont.cs b/MLEM.Extended/Font/GenericBitmapFont.cs index 30a72c0..f4845e8 100644 --- a/MLEM.Extended/Font/GenericBitmapFont.cs +++ b/MLEM.Extended/Font/GenericBitmapFont.cs @@ -17,10 +17,6 @@ namespace MLEM.Extended.Font { } public Vector2 MeasureString(string text) { - // For some reason, Extended's bitmap fonts don't take kerning into - // account when calculating the size of a single character - if (text.Length == 1) - text += '\u200B'; return this.Font.MeasureString(text); }