Hi RichView Support,
I have an additional editor form that uses a ScaleRichView to display the same document as my RichViewEdit.
The loaded RVF file is identical, and I have verified that the margins and paragraph indents are the same in both controls. The ZoomFactor is 100%, and PageViewMode is disabled.
However, the document is rendered differently. As you can see in the screenshot, the line breaks occur at different positions, although both controls should display the same content.
I'm sure this worked correctly before. Since then, I have made many changes to my application, so I suspect that I may have accidentally changed a setting.
Is there any property or setting that could cause this difference in rendering?
Thank you for your help.
Kind regards,
Tom
Different View of the same Text in ScaleRichview
Re: Different View of the same Text in ScaleRichview
Hello again,
I have created a small Delphi demo project that uses only the basic RichView components and reproduces the described effect.
Please find the attached ZIP file containing the demo project.
Stepts To Reproduce:
Start the Project --> Richview with RightMargin should be displayed Now Press the Button "ScaleRichview"
ScaleRichview with Margin should be Displayed The text is different.
Kind regards
Tom
I have created a small Delphi demo project that uses only the basic RichView components and reproduces the described effect.
Please find the attached ZIP file containing the demo project.
Stepts To Reproduce:
Start the Project --> Richview with RightMargin should be displayed Now Press the Button "ScaleRichview"
ScaleRichview with Margin should be Displayed The text is different.
Kind regards
Tom
- Attachments
-
- RichViewScaleTest.zip
- (1.4 KiB) Downloaded 1 time
-
Sergey Tkachenko
- Site Admin
- Posts: 18205
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Different View of the same Text in ScaleRichview
This is the expected behavior.
Text in TRichView and TRichViewEdit is formatted and drawn using the screen DPI (or DPI specified in DocumentPixelsPerInch property). This ensures maximum text display quality.
Text in ScaleRichView is formatted using a high DPI value and drawn at DPI providing the required text size on the screen or printer. This ensures consistent text wrapping when drawing on any device.
Text in TRichView and TRichViewEdit is formatted and drawn using the screen DPI (or DPI specified in DocumentPixelsPerInch property). This ensures maximum text display quality.
Text in ScaleRichView is formatted using a high DPI value and drawn at DPI providing the required text size on the screen or printer. This ensures consistent text wrapping when drawing on any device.