Page 1 of 1

RichText with canBreak and 'space after'

Posted: Fri Mar 19, 2021 9:50 am
by ufessel
Hello!

I'm having troubles using RichText with canBreak and 'space after' (\sa160).

Some times are lines left, per example bsp.pdf:
- Page 1 - Column 4 - line 'Zeile 5' left
- Page 1 - Column 5 - line 'Zeile1' left

without '\sa160' it works fine.

Re: RichText with canBreak and 'space after'

Posted: Fri Mar 19, 2021 11:17 am
by Sergio Museninni
Hello
We could not reproduce this. What product version and windows OS are you using? Please send us a report with test data on which we will reproduce the issue.
Thank you

Re: RichText with canBreak and 'space after'

Posted: Thu Jun 03, 2021 6:50 am
by ufessel
this file was attatched at the first post

Re: RichText with canBreak and 'space after'

Posted: Thu Jun 03, 2021 6:51 am
by ufessel
<ReportVersion>2020.5.2.0</ReportVersion

Re: RichText with canBreak and 'space after'

Posted: Fri Jun 04, 2021 7:26 am
by Lech Kulikowski
Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.

Re: RichText with canBreak and 'space after'

Posted: Fri Jun 04, 2021 11:37 am
by Lech Kulikowski
Hello,

We are using the standard NetFramework RichText component to show rich text. This component using a standard Windows library. And it has very limited functionality. Even for split text to parts, there is no built-in functionality, only hacks can do it.
And unfortunately, it is almost impossible to control these operations. So most of the time RichText is rendered "as is".

Also, each version of Windows has its own version of the system library, which may work slightly differently, differently calculating the height of the lines depending on the system scaling, fonts, etc.
For example, on Win7 lately, the library is often glitchy, giving less size than needed and cutting off the text on several lines at once.

A few builds ago we made a revision, which seems to have fixed the bugs with cropping, at least all the ones that we were able to reproduce.
On our test machines, your report works now without problems, so try the latest build.
If it does not help, it will most likely remain as is, or provide information about OS version, scaling, etc. and we will try to reproduce it.

Thank you.

Re: RichText with canBreak and 'space after'

Posted: Wed Jun 09, 2021 6:21 am
by ufessel
Hallo,

sorry, I send you the Report without the '/sa' RTF-Option.

please, have a look to these Report

Thanks
Uwe

Re: RichText with canBreak and 'space after'

Posted: Mon Jun 14, 2021 6:57 am
by Lech Kulikowski
Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.