mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-22 04:53:29 +01:00
try using a zero width space?
This commit is contained in:
parent
3d7867feb2
commit
dd53b0681e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue