New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDF reports - long lines overflow into adjacent cell, or truncated [patch] #2392
Comments
Attachment: |
Attachment: |
I think this is the flip side of #1601. |
I don't think it's easy to do, or maybe I just don't know about it... ? Decreasing priority but of course if a patch is submitted it would be great :) |
Maybe worth trying to replace Cell() by MultiCell() in the generation code (see http://stackoverflow.com/questions/2938953/word-wrap-in-tcpdf ) |
Setting a a white background on the even rows, like the green on the uneven, will do the trick. This will hide the overflowing text. |
Quick and dirty fix is the following configuration: /core/ReportRenderer/Pdf.php
Line 326 // Computes available column width
Additionaly I decreased the Font Size a bit, because some of our Website Names are to long for the first Paper of the Report
works fine 4 us |
(In [5234]) Thanks mattenschwinger Fixes #2392 |
Small display error in PDF reports. If text is too long for one cell it will sometimes (if cell has no background colour?) flow in adjacent cell and make content unreadable. Happened for Visitor overview and Returning Visitors report. See attached screenshots.
Also mentioned in http://forum.piwik.org/read.php?5,76084
The text was updated successfully, but these errors were encountered: