Pre loader

Font Rendering Issue in NativeTextAnnotation After Upgrading to SciChart 4.0.923

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

1
0

Hi,
I’m experiencing an issue after upgrading to SciChart v4.0.923.
It seems that the font registration for NativeTextAnnotation is not rendering correctly, especially regarding numeric characters. The rendered text appears distorted or improperly shaped.

This behavior did not occur in SciChart v3, where the same annotations and fonts rendered correctly.

I’ve attached screenshots comparing the output in version 4 vs version 3 to illustrate the difference.

Could you please check whether this is a known issue in the new rendering pipeline, or if any additional configuration is required for custom font registration in SciChart 4?

Thank you!
If you need any additional information or a reproduction snippet, I can provide it.

Version
4.0.923
Images
  • You must to post comments
0
0

OK an update from the team

So in v4 for some reason the superscript rendering of characters “n” and “0-9” took over when a custom font was loaded in the NativeTextAnnotation.

There’s been significant work in v5 (will be released shortly) and this issue is fixed in v5. So a phrase like “the quick brown fox jumps over the lazy dog 0123456789” is a great test that covers all the alphabet and numerals 0..9. This renders correctly in v5 (see attached screenshot).

The team will see if we can back-port this into v4 as a bug-fix however it may not be possible. V5 is scheduled for release in January 2026 and will be going to beta soon.

Best regards,
Andrew

Images
  • You must to post comments
0
0

Hello Andrew, thank you for your response.

Is there any temporary workaround to make this work correctly in version 4?

I am planning to upgrade to version 4, however the NativeTextAnnotation is extremely important and heavily used in our system.

  • You must to post comments
0
0

Hi there, the font issue has been fixed in v5 which is now on the final phase and due to release soon. In the mean time you can try out BETA version https://www.npmjs.com/package/scichart/v/5.0.0-beta.149
Another option would be to use TextAnnotation (https://www.scichart.com/documentation/js/v4/2d-charts/annotations-api/text-annotation/) or HtmlTextAnnotation (https://www.scichart.com/documentation/js/v4/2d-charts/annotations-api/html-annotation/) instead.

Best regards,
Michael

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.