MonoGame.Extended icon indicating copy to clipboard operation
MonoGame.Extended copied to clipboard

MeasureString doesn't seem to measure a space character at the end of a string.

Open SenpaiSharp opened this issue 4 years ago • 1 comments

MeasureString doesn't seem to measure a space character at the end of a string.

For example:

.MeasureString("Hello World ").X .MeasureString(" Hello World").X

The latter will measure longer, while the former will result equally to just measuring without the space at all ("Hello World").

SenpaiSharp avatar Sep 08 '20 06:09 SenpaiSharp

I just tested with with BitmapFont and could not reproduce. Could you share a zipped csproj/solution reproducing the problem?

lithiumtoast avatar Nov 02 '20 21:11 lithiumtoast