Stranger Render error - last character in string?

benedictw's picture

Only just started looking at Nuclex and of what I can see (one character) it looks great.

The problem is that if I pass a string like Score:0 then I get what looks like "0" being drawn - and thats it.

 

My font file is the same as from the tutorial

and the code for drawing looks like:

myFontBold.DrawString(
new Vector2(200.0f, 200.0f),
"Score:0" );

Anyone seen such a strange beast? It does make me wonder if a Nuclex.Font is assuming a particular renderstate a particular way.

 

Ideas?

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Lines and paragraphs break automatically.
  • Allowed HTML tags: <br> <a> <em> <strong> <u> <i> <b> <cite> <blockcode> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> <pre> <span>
  • You can highlight code with any of the following tags: <blockcode>

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.