Charts don't show if the title contains Chinese / Japanese characters


https://www.nevron.com/Forum/Topic14277.aspx
Print Topic | Close Window

By Stuart Jones - 3 Years Ago
This only happens if RenderSurface is set to window.

If you have a workaround or could issue a fix soon it would really help us.
By Nevron Support - 3 Years Ago
Hi Stuart,

We just tested the control with some simple Chinese / Japanese texts and it was working correctly in both Window / Bitmap mode. Can you post the text you're trying to display as well as the font you use so that we can try to replicate the problem? Also, what is the build version number of the chart you're testing with?
By Nevron Support - 3 Years Ago
Hi Stuart,

We just tested the control with some simple Chinese / Japanese texts and it was working correctly in both Window / Bitmap mode. Can you post the text you're trying to display as well as the font you use so that we can try to replicate the problem? Also, what is the build version number of the chart you're testing with?
By Stuart Jones - 3 Years Ago
Hi,

The  version is 19.2.26.12

We use Arial but I've tried with Microsoft Sans Serif and Microsoft YaHei

The chart header text was 齿轮

Best regards,
By Nevron Support - 3 Years Ago
Hi Stuart,

We were able to replicate the problem with the previous version. The issue is fixed in the most recent version which has an updated font system that does not have this problem. Please consider upgrading to the latest version which resolves this issue.
By Stuart Jones - 3 Years Ago
Hi,

I've downloaded the latest release (21.8.20.12) and have started testing it. When using hardware acceleration the text doesn't render correctly. This happens in our application and the Nevron Chart for .NET - WPF Examples.

Could this just be my graphics card (NVIDIA GeForce GTX 950)? I'm currently making a release for others to try. Is there a workaround or fix available?

The charts do now display when the text contains Chinese characters

I've attached a screenshot from the example application. It is most noticeable in the copyright notice

Best regards,
Stuart

By Nevron Support - 3 Years Ago
 Hi Stuart,

It appears this issue is somehow related to older NVidia boards (so far the only problematic boards are NVidia Quadro and (obviously) GTX 950). We've tested on newer AMD / NVidia models and it was working properly. We suspect the issue is caused during a texture update of the font texture used to display glyphs and are currently working on a workaround. Let us know if you experience the problem on other video boards as well. We'll try to find a GTX 950 and test with such a video board and keep you posted.


By Stuart Jones - 3 Years Ago
Hi,

The other graphics card we have tested is a Quadro.

I don't mind testing something if you want me to test on my machine (with the GTX 950).

We have problems with Quadro graphics cards at the moment because they use hardware acceleration for OpenGL over remote desktop, most other graphics cards don't. If you're testing other graphics cards by remoting into the machine then they might also have the problem if you were logging on directly.

Best regards,
By Stuart Jones - 3 Years Ago
Hi,

I've tried this again in the latest release and have some more information that might help.

The text doesn't render correctly when I use a 4k monitor but renders correctly otherwise.

Best regards,
By Nevron Support - 3 Years Ago
Hi Stuart,

Thank you for sharing this information - we just tried to reproduce the problem on an old gtx 960 and the Chinese/Japanese characters were rendered correctly - is this still happening on a Quadro board as before or it can be reproduced on an arbitrary graphics card model. Also, can you please post a screenshot of the incorrect rendering for review? Thank you.
By Stuart Jones - 3 Years Ago
Hi,

I get the problem in the real-time sample application, in the English copyright notice.

It only happens with a 4k monitor. My graphics card is a NVIDIA GTX 950.

image

Best regards,

Stuart