PHP Classes

First line on new page

Recommend this page to a friend!

      classPdf  >  All threads  >  First line on new page  >  (Un) Subscribe thread alerts  
Subject:First line on new page
Summary:First line on new pages, fades out to gray...
Messages:1
Author:Thomas Troelsen
Date:2011-06-20 12:50:42
 

  1. First line on new page   Reply   Report abuse  
Picture of Thomas Troelsen Thomas Troelsen - 2011-06-20 12:50:42
Great Class :)
I'm having problems with paging in PDF, especially when I have tables on the pages.
Sometimes the first line of text on a new page is faded to gray.
At first I suspecte that the paging-system failed me, but my attempt to control the paging doesn't change the reult.
if ($pdf->y < 150) // I happened to know the height of each paragraph
{
$pdf->ezNewPage();
}

Please help!