Page 1 of 1
Text wont render
Posted: Wed May 27, 2020 9:06 pm
by shadowkras
Hello, Im having an issue trying to render some text, it normally contains html characters and tags, but the report wont render the text component that contains that string no matter what I try. At first I thought it was some issue with my version (ultimate 2013), then I tried 2018 and it had the same issue. I removed all diacritics, special characters and spaces, and it still wont render. I also thought it was something related to the size of my text, but I tried with another text that was ten times as larger and it still didnt render.
To reproduce, I will attach a sample report and a text file with my text unmodified.
Re: Text wont render
Posted: Fri May 29, 2020 1:32 pm
by Lech Kulikowski
Hello,
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
Re: Text wont render
Posted: Tue Jun 02, 2020 6:08 pm
by shadowkras
Here is another example, with an even simpler text.
You just gotta hit preview, the first textbox shows up (in red), the second doesnt shown anything.
The problem seems to be related to the length of the text being inserted into the textbox. But that doesntt happen to all texts, as some texts were 10 times bigger than those in the examples and rendered fine.
Also, the problem doesn't happen with RichTextBoxes, but it doesnt render html, which I need.
Re: Text wont render
Posted: Wed Jun 03, 2020 9:47 am
by Lech Kulikowski
Hello,
It the limitation of the system itself on the length of the text. If the length of one line is greater than a certain value, the output method falls.
In the Wysiwyg/HtmlTags mode GDI works, and 32kb limit. In the Standard/Typographic mode GDI+ works and limitation is 40-50kb, depending on font size and type.
You need to split your text on parts.
Thank you.
Re: Text wont render
Posted: Wed Jun 03, 2020 1:41 pm
by shadowkras
I figured it was something like that, but that doesnt explain why I can render a text that is 700k characters long, for instance. I can give you an example if you need.
The attached report has a text that is 134k characters long and renders all of it. You will notice the file is significantly larger than the one I attached before.
Re: Text wont render
Posted: Sun Jun 07, 2020 6:56 pm
by Lech Kulikowski
Hello,
In your sample all text in one string. You should split it. For example, in 1000 strings with 10.000 symbols - in that case, it will work.
Thank you.