mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-22 12:58:33 +01:00
that didn't work lol
This commit is contained in:
parent
dd53b0681e
commit
ce50c6d569
1 changed files with 0 additions and 4 deletions
|
@ -17,10 +17,6 @@ namespace MLEM.Extended.Font {
|
||||||
}
|
}
|
||||||
|
|
||||||
public Vector2 MeasureString(string text) {
|
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);
|
return this.Font.MeasureString(text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue