Problem with Draw String!

Lestat's picture

Hi, all! Sorry, my english so bad (
I use Nuclex.Fonts-1.2.0... I can't write my string, then i compile Nuclex.Fonts.Content.Pipeline.TrueTypeImporter.dll and Nuclex.Fonts.dll
and i can write my string with new dll, but i have problem:

this is screenshot Nuclex.Fonts Demo with recompile dll
Help me please! Thank you!

Cygon's picture

Probably an Outdated Graphics Driver

This problem appears to be caused by a bug in the drivers of some graphics cards.

I'd recommend to try updating your graphics drivers -- if that doesn't help, there also is solution that involves a slight modification to Nuclex.Fonts explained here:

Fonts show up garbled for some users

If you're curious, the exact problem is that several graphics drivers seemingly cannot cope with texture subregion locking. Some will return the memory address of the upper left corner of the locked region, others will return the memory address of the upper left corner of the whole texture. I'm astounded such an obvious flaw could make it into any driver without being discovered for *years*. Obviously game programmers prefer to micro-optimize themselfes senseless instead of spending just the few minutes it takes to implement smart texture updating :)

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.