RichText Content Not Display Properly

Stimulsoft Reports.NET discussion
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: RichText Content Not Display Properly

Post by HighAley »

Hello.

We are working on your issue.
We will keep in touch with any news.

Thank you.

Ticket reference: #3151198.
kennynjc
Posts: 34
Joined: Thu Dec 14, 2017 5:24 am

Re: RichText Content Not Display Properly

Post by kennynjc »

Hi, thank you very much! Looking forward for your resolution.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: RichText Content Not Display Properly

Post by HighAley »

Hello, Kenny.

Sorry, we still can't install this drive on Windows 10 without the printer.
error.png
error.png (3.63 KiB) Viewed 4229 times
On Windows 7 we sere able to install this driver but don't see this issue.

Thank you.
kennynjc
Posts: 34
Joined: Thu Dec 14, 2017 5:24 am

Re: RichText Content Not Display Properly

Post by kennynjc »

Hi,

Yes Windows 7 or Windows 8 no problem. But in Windows 10 will have the problem.

To be able to install the driver on Windows 10, it need to Disabled Driver Signature Enforcement by using Windows Advance Startup.

Please refer to below screenshot for steps, after that the driver will be able to install.

regards,
Kenny
Attachments
Press F7 to disable it.
Press F7 to disable it.
Screen09.jpeg (53.4 KiB) Viewed 4223 times
Press Restart button
Press Restart button
Screen08.jpeg (49.28 KiB) Viewed 4223 times
Choose Startup Settings
Choose Startup Settings
Screen07.jpeg (70.46 KiB) Viewed 4223 times
Choose Advanced Options
Choose Advanced Options
Screen06.jpeg (34.97 KiB) Viewed 4223 times
Choose Troubleshoot
Choose Troubleshoot
Screen05.jpeg (42.11 KiB) Viewed 4223 times
Screen04.jpeg
Screen04.jpeg (59.96 KiB) Viewed 4223 times
Choose Recovery, under Advanced Startup, press Restart Now
Choose Recovery, under Advanced Startup, press Restart Now
Screen03.png (47.91 KiB) Viewed 4223 times
Choose Update & Security
Choose Update & Security
Screen02.png (37.79 KiB) Viewed 4223 times
Goto Windows - Settings
Goto Windows - Settings
Screen01.png (177.7 KiB) Viewed 4223 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: RichText Content Not Display Properly

Post by HighAley »

Hello.

Thank you for the instruction.
We were able to install the driver, but the printer did not appear in the Printer's list.

We have some ideas. Please, try to run the attached report and send us what you get.

Thank you.
Attachments
Test Dpi.mrt
(13.3 KiB) Downloaded 163 times
kennynjc
Posts: 34
Joined: Thu Dec 14, 2017 5:24 am

Re: RichText Content Not Display Properly

Post by kennynjc »

Hello, here's the result as attached.
Attachments
Preview Mode
Preview Mode
Screen04.png (226.29 KiB) Viewed 4191 times
In Designer Mode
In Designer Mode
Screen03.png (208.46 KiB) Viewed 4191 times
kennynjc
Posts: 34
Joined: Thu Dec 14, 2017 5:24 am

Re: RichText Content Not Display Properly

Post by kennynjc »

Hello, any progress of this issue? Thank you.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: RichText Content Not Display Properly

Post by HighAley »

Hello.

Thank you for the screenshots.
On earlier versions of Windows 10 the system scale could be set in two different places.
Later one of this options was removed. But it seems that you use not the latest build.
We see that the second option on your system is set to 150%.

Please, go to Display settings -> Advanced Display settings -> Advanced sizing of text and other items -> Set a custom scaling level and set the scale to 100%.
resolution-advanced-display-settings.jpg
resolution-advanced-display-settings.jpg (36.77 KiB) Viewed 4162 times
advanced-sizing-of-text-and-other-items.png
advanced-sizing-of-text-and-other-items.png (35.43 KiB) Viewed 4162 times
custom scaling level.jpg
custom scaling level.jpg (35.24 KiB) Viewed 4162 times
If the system scale is set to 100% but you still get the issue. We met a bug in Windows. Please, try to set the system scale to 125%, reboot your system, set the system scale to 100% and reboot again.
After this render our test report. All numbers on yellow should be 96.

Thank you.
kennynjc
Posts: 34
Joined: Thu Dec 14, 2017 5:24 am

Re: RichText Content Not Display Properly

Post by kennynjc »

Hi, the result still the same after changed to 125% then signout, and changed to 100% and signout again.

When changed to 125%, yellow box values are all change to 120, orange box value = 96

When changed back to 100%, yellow box values shown different which was 96, 96, 144; orange box value still = 96

So, what to do next?

By the way and just for your additional info, I'd also tested with DevExpress XtraReport, their RichTextEdit do not have such problem encountered.

Regards,
Kenny
Attachments
Change to 100%
Change to 100%
Screen03.png (129.93 KiB) Viewed 4150 times
Change to 125%
Change to 125%
Screen02.png (122.27 KiB) Viewed 4150 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: RichText Content Not Display Properly

Post by Alex K. »

Hello,

Please let us explain the information in the test report.
In the yellow rectangle:
The first two numbers are the text scale, in the Standard/Typographics and Wysiwyg modes, respectively.
The third number is the scale for RichText, this value is taken from the registry, from two keys
CurrentUser\Control Panel\Desktop\LogPixels,
LocalMachine\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontDPI\LogPixels.
one of the registry keys as Win7-style, the second as Win10-style.
in this case, one of these keys indicates the scale (the number is not 96). so scaling is applied to RichText.

In some cases, there are some problems with these values. To set correct values is needed to first set the scale to 100% in the Custom scaling level menu, then in Display settings, also check that 100% is set, then restart the computer (logout does not always help), and again check that the scale is 100% installed everywhere.
if it still does not help - please try to set these keys in register manually in 96 value.

Thank you.
Post Reply