From dd53b0681e3c6354e088b2c16f60fd50a8c8ef51 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Thu, 19 Mar 2020 17:42:07 +0100 Subject: [PATCH] try using a zero width space? --- MLEM.Extended/Font/GenericBitmapFont.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MLEM.Extended/Font/GenericBitmapFont.cs b/MLEM.Extended/Font/GenericBitmapFont.cs index edbc78b..30a72c0 100644 --- a/MLEM.Extended/Font/GenericBitmapFont.cs +++ b/MLEM.Extended/Font/GenericBitmapFont.cs @@ -20,7 +20,7 @@ namespace MLEM.Extended.Font { // 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 += ' '; + text += '\u200B'; return this.Font.MeasureString(text); }