webgio / Rotativa.AspNetCore

Rotativa for Asp.Net Core
MIT License
269 stars 119 forks source link

problem with broken line with signal "-" #36

Open fferretto opened 5 years ago

fferretto commented 5 years ago

I am having problems with the configuration of the rotator in my ASP.Net Core application, where it breaks the line when I see a "-" sign. I have debugged several times, and the code will broker until the end, after it passes through "ViewAsPdf (" RelPDF ", dataRel)" this happens. I configured my viewaspdf like this:           var pdf = new ViewAsPdf ("RelPDF", dataRel)              {                  Model = dataRel,                  PageSize = Size.A4,

                 PageOrientation = Orientation.Portrait,                  PageMargins = new Margins (2, 6, 6, 5)              };

for example, in a column of my report I show the CNPJ: image

DWAK-ATTK commented 4 years ago

It would be helpful to see the View code as well.