-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Font in Tablecell not visible after Pagebreak #155
Comments
@Gernott Thanks for reporting! I will have a look at it this week, but probably this is a TCPDF issue. |
It seems to work with direct PHP / TCPDF 6.3.5 (Github Master). |
@Gernott Perfect thanks, so we will update TCPDF soon and test it! |
Hmmmm, I replaced the TCPDF version in the EXT:pdfviewhelpers 2.3.1 in the folder Resources/Private/PHP/tcpdf/ from 6.2.26 to 6.3.2 (from Github). But the problem still appears with my PDF Viewhelper. |
I guess I would have to start using a debugger now as well. But maybe you can find out something by starting to comment out pdfviewhelpers/Classes/Model/BasePDF.php Lines 168 to 180 in 84fdcb4
If commenting out one of these functions helps, we know where to have a closer look at. You should be able to recognise the methods we have overwritten by looking for the comment |
@Gernott The problem seems to be within our function public function renderHeader()
{
$graphicVars = $this->getGraphicVars();
parent::setHeader();
$this->setGraphicVars($graphicVars);
//$this->setPageMark();
} I am not entirely sure anymore why we use |
This should be fixed in The problem seemed to be that setting a page mark at this point lead to a wrong ordering of the background and the text within the PDF document. The text was being rendered, but it was hidden behind the coloured background. |
Tested and works fine. Thank you - good work! |
If you use pdf:html with a
inside with background-colour in cells, then the text on page 2 in cell one is not visible, when the content of this cell is parted on 2 pages.See attached PDF (press strg+a on page 2 to see the hidden text).
example.pdf
WebsitePdf.zip
The text was updated successfully, but these errors were encountered: