We have a situation where text is being cut off for no apparent reason. The use of Bold in HTML in a data column seems to be the problem.
This MRT:
Produces this PDF:
Where some of the text "koptekst." is missing
The MRT used is attached. I used the online version at designer.stimulsoft.com
Can you please look into this problem?
HTML Text being cut off when using data columns
-
- Posts: 9
- Joined: Thu Oct 17, 2019 6:41 am
HTML Text being cut off when using data columns
- Attachments
-
- Problem_Html_text_truncated (1).mrt
- (167.4 KiB) Downloaded 104 times
-
- Posts: 6265
- Joined: Tue Mar 20, 2018 5:34 am
Re: HTML Text being cut off when using data columns
Hello,
Please provide more detailed information on how do you export to pdf?
Could you prepare and send us a sample project that reproduces the issue for analysis?
Thank you.
Please provide more detailed information on how do you export to pdf?
Could you prepare and send us a sample project that reproduces the issue for analysis?
Thank you.
-
- Posts: 9
- Joined: Thu Oct 17, 2019 6:41 am
Re: HTML Text being cut off when using data columns
The sample (mrt file) was already added as an attachment. To reproduce the problem, simply go to designer.stimulsoft.com, file --> open, select the mrt. Now open the preview tab and the problem is immediately visible.
-
- Posts: 6265
- Joined: Tue Mar 20, 2018 5:34 am
Re: HTML Text being cut off when using data columns
Hello,
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
#10252
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
#10252
-
- Posts: 6265
- Joined: Tue Mar 20, 2018 5:34 am
Re: HTML Text being cut off when using data columns
Hello,
The main cause of the problem is that AutoWidth (and WordWrap) is enabled in the text boxes.
In this case, the width is adjusted to the text, but the width is calculated for GDI+.
In the browser, it is always displayed differently, and the text may not fit and is moved to the next line.
We can never guarantee that the text in the browser will be displayed as it is calculated in Net.
because this depends on many factors - system, fonts, browser, system scaling, etc.
That's why it's best not to use AutoWidth in the Web. If you need AutoWidth - then turn off WordWrap.
Thank you.
The main cause of the problem is that AutoWidth (and WordWrap) is enabled in the text boxes.
In this case, the width is adjusted to the text, but the width is calculated for GDI+.
In the browser, it is always displayed differently, and the text may not fit and is moved to the next line.
We can never guarantee that the text in the browser will be displayed as it is calculated in Net.
because this depends on many factors - system, fonts, browser, system scaling, etc.
That's why it's best not to use AutoWidth in the Web. If you need AutoWidth - then turn off WordWrap.
Thank you.