Cutoff line/s in CanGrow-textboxes in Chrome with some zoom factors

Stimulsoft Reports.JS discussion
Post Reply
Lars
Posts: 5
Joined: Wed Feb 07, 2018 12:12 pm

Cutoff line/s in CanGrow-textboxes in Chrome with some zoom factors

Post by Lars »

Hello
I'm using a textbox with multiple-lines-text with "Dock Style"="Fill" and setting "CanGrow" inside a "CanGrow"-ReportSummaryBand.
The issue: in Chrome last line(s) can be cutting off partly, because the height-calculation of the "CanGrow"-box is not exact. I made a lot of tests and I can reproduce this behaviour with some special Chrome-zoom-factors (for example at 100%). With some zoom-levels (for example 110%) the height-calculation of the "CanGrow"-box seems to work. With IE11 the rendering is working good independent of browser-zoom-factor.
I do not use any Stimulsoft-HTML-rendering! With Stimulsoft I export report to pdf-format directly and show the result with pdf-js (all in the browser) or "download"/save the pdf.
I'm using such a js-/typescript-code:

Code: Select all

            let settings = new Stimulsoft.Report.Export.StiPdfExportSettings();
            settings.imageQuality = 1.0;
            settings.imageResolution = 300;
            settings.embeddedFonts = false;
            settings.useUnicode = false;
            settings.StandardPdfFonts = true;
            let service = new Stimulsoft.Report.Export.StiPdfExportService();
            let stream = new Stimulsoft.System.IO.MemoryStream();
            report.render();
            service.exportToAsync(() => processPdfStream(), report, stream, settings); 
Thank you
Lech Kulikowski
Posts: 6266
Joined: Tue Mar 20, 2018 5:34 am

Re: Cutoff line/s in CanGrow-textboxes in Chrome with some zoom factors

Post by Lech Kulikowski »

Hello,

Please send us a simple report which reproduces the issue for analysis.

Thank you.
Post Reply