View Designer the richtext is incorrect font format

Stimulsoft Reports.NET discussion
Post Reply
Neng
Posts: 5
Joined: Mon Mar 03, 2025 2:02 am

View Designer the richtext is incorrect font format

Post by Neng »

Hi, I’m using VB.NET and displaying RichText content in my report. The RichText value is stored in an NVARCHAR field, which saves the text in RTF format.

However, one client is facing an issue where the font displayed in the report is different from the RTF formatting we set.

When we back up the same database and view it on our PCs, it looks normal. The issue only occurs on the client’s PC.

Client side:
Screenshot 2025-10-15 113409.png
Screenshot 2025-10-15 113409.png (69.77 KiB) Viewed 2046 times
Actual result:
Screenshot 2025-10-15 113839.png
Screenshot 2025-10-15 113839.png (94.82 KiB) Viewed 2046 times

Client environment:

Windows 10 Enterprise LTSC

My environment:

Windows 11 Home Single Language

both is Stimulsoft version: 2025.3.4

The client has already reformatted the PC, but the issue remains. We also verified that the font used in the RTF is installed on the client’s machine.

Does anyone have any suggestions or know what might cause this issue?

The way we use the rich text:
Screenshot 2025-10-15 114623.png
Screenshot 2025-10-15 114623.png (272.37 KiB) Viewed 2046 times
Screenshot 2025-10-15 114735.png
Screenshot 2025-10-15 114735.png (116.94 KiB) Viewed 2046 times
Lech Kulikowski
Posts: 7510
Joined: Tue Mar 20, 2018 5:34 am

Re: View Designer the richtext is incorrect font format

Post by Lech Kulikowski »

Hello,

Check whether system scaling affects it.
If your code uses StiOptions.Engine.CheckInstalledPrintersForRichTextMeasureGraphics = true;
Then don’t use it and leave it as "false" by default.

Also, check whether the behavior changes if you set Wysiwyg = false for the component, on some computers, it glitches when Wysiwyg = true.

Thank you.
Neng
Posts: 5
Joined: Mon Mar 03, 2025 2:02 am

Re: View Designer the richtext is incorrect font format

Post by Neng »

Hi,

as check, we did not use StiOptions.Engine.CheckInstalledPrintersForRichTextMeasureGraphics = true
and already set to Wysiwyg = false but still same.
Lech Kulikowski
Posts: 7510
Joined: Tue Mar 20, 2018 5:34 am

Re: View Designer the richtext is incorrect font format

Post by Lech Kulikowski »

Hello,

Please send us a sample that reproduces the issue for analysis.

Thank you.
Post Reply