FlaxEngine / FlaxEngine

Flax Engine – multi-platform 3D game engine
https://flaxengine.com
Other
5.52k stars 541 forks source link

Render2D.DrawText draws unwanted trailing character #2566

Closed ZaPx64 closed 3 weeks ago

ZaPx64 commented 3 weeks ago

Issue description: Creating a custom Control that draws text using Render2D.DrawText causes the engine to draw an unwanted trailing character to the otherwise flawless text when a fancy font is used.

Capture

Steps to reproduce: Create custom control as described above and observe the error, or take a look at the provided example project.

Minimal reproduction project: DrawTextBugSample.zip

Flax version: 1.8.6511.1