1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-22 12:58:33 +01:00

try using a zero width space?

This commit is contained in:
Ellpeck 2020-03-19 17:42:07 +01:00
parent 3d7867feb2
commit dd53b0681e

View file

@ -20,7 +20,7 @@ namespace MLEM.Extended.Font {
// For some reason, Extended's bitmap fonts don't take kerning into // For some reason, Extended's bitmap fonts don't take kerning into
// account when calculating the size of a single character // account when calculating the size of a single character
if (text.Length == 1) if (text.Length == 1)
text += ' '; text += '\u200B';
return this.Font.MeasureString(text); return this.Font.MeasureString(text);
} }