Word wrap doesn't work in html5 version

Stimulsoft Reports.JS discussion
Post Reply
terje.pedersen
Posts: 80
Joined: Thu Aug 18, 2016 7:29 am

Word wrap doesn't work in html5 version

Post 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 1504 times
In our solution (HTML5):
wordwrap-html5.png
wordwrap-html5.png (14.06 KiB) Viewed 1504 times
In our solution (PDF):
wordwrap-pdf.png
wordwrap-pdf.png (11.43 KiB) Viewed 1504 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Word wrap doesn't work in html5 version

Post by Alex K. »

Hello,

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

Thank you.
terje.pedersen
Posts: 80
Joined: Thu Aug 18, 2016 7:29 am

Re: Word wrap doesn't work in html5 version

Post 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.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Word wrap doesn't work in html5 version

Post by HighAley »

Hello.

Great. Let us know if you need our help.

Thank you.
Post Reply