1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-12-25 17:59:24 +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
// account when calculating the size of a single character
if (text.Length == 1)
text += ' ';
text += '\u200B';
return this.Font.MeasureString(text);
}