Page 1 of 1

Word wrap doesn't work in html5 version

Posted: Thu Dec 29, 2016 10:15 am
by terje.pedersen
Latest version: JS_2016.12.24

As you can see when using HTML5 (Stimulsoft.Report.StiHtmlType.Html5) the wrapping of text doesn't work. It works both in HTML and PDF versions.

In preview (HTML):
wordwrap-html.png
wordwrap-html.png (8.37 KiB) Viewed 1896 times
In our solution (HTML5):
wordwrap-html5.png
wordwrap-html5.png (14.06 KiB) Viewed 1896 times
In our solution (PDF):
wordwrap-pdf.png
wordwrap-pdf.png (11.43 KiB) Viewed 1896 times

Re: Word wrap doesn't work in html5 version

Posted: Thu Dec 29, 2016 8:01 pm
by Alex K.
Hello,

We couldn't reproduce this bug.
Please send us a simple project which reproduces the issue for analysis.

Thank you.

Re: Word wrap doesn't work in html5 version

Posted: Mon Jan 02, 2017 8:56 am
by terje.pedersen
Thanks for looking at it. I tried to recreate it with an example but it showed up correctly in the example with the same .mrt file. Found the source of problem with a font file which had got an extension is shouldn't have so it wasn't loaded addOpentypeFontFile as it should. So this issue is now solved.

Re: Word wrap doesn't work in html5 version

Posted: Tue Jan 03, 2017 12:49 pm
by HighAley
Hello.

Great. Let us know if you need our help.

Thank you.