version 1.51 of the FPDF library

This commit is contained in:
Loïc Chapeaux
2002-10-04 10:35:57 +00:00
parent abc5c3aa3a
commit 9c66eba941
4 changed files with 468 additions and 226 deletions

View File

@@ -8,6 +8,8 @@ $Source$
2002-10-03 Lo<4C>c Chapeaux <lolo@phpheaven.net> 2002-10-03 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* tbl_select.php3, tbl_change.php3: require musn't be used inside * tbl_select.php3, tbl_change.php3: require musn't be used inside
conditional statements. conditional statements.
* pdf_schema.php3; libraries/fpdf/fpdf.php3: upgraded to the 1.51 release
of the FPDF library.
2002-10-03 Marc Delisle <lem9@users.sourceforge.net> 2002-10-03 Marc Delisle <lem9@users.sourceforge.net>
* tbl_select.php3, tbl_change.php3, * tbl_select.php3, tbl_change.php3,

View File

@@ -1,3 +1,3 @@
The official site for fdpf is http://www.fpdf.org/ The official site for fdpf is http://www.fpdf.org/
This directory contains some files from the fpdf 1.5 distribution. This directory contains some files from the fpdf 1.51 distribution.

File diff suppressed because it is too large Load Diff

View File

@@ -393,7 +393,7 @@ class PMA_RT_Table
$pdf->SetTextColor(200); $pdf->SetTextColor(200);
$pdf->SetFillColor(0, 0, 128); $pdf->SetFillColor(0, 0, 128);
if ($show_info){ if ($show_info){
$pdf->PMA_PDF_cellScale($this->width, $this->height_cell, $pdf->_FPDF_round($this->width) . 'x' . $pdf->_FPDF_round($this->height) . ' ' . $this->table_name, 1, 1, 'C', 1); $pdf->PMA_PDF_cellScale($this->width, $this->height_cell, sprintf('%.0f', $this->width) . 'x' . sprintf('%.0f', $this->height) . ' ' . $this->table_name, 1, 1, 'C', 1);
} else { } else {
$pdf->PMA_PDF_cellScale($this->width, $this->height_cell, $this->table_name, 1, 1, 'C', 1); $pdf->PMA_PDF_cellScale($this->width, $this->height_cell, $this->table_name, 1, 1, 'C', 1);
} }
@@ -733,7 +733,7 @@ class PMA_RT
// Avoid duplicates // Avoid duplicates
if ($l > 0) { if ($l > 0) {
$pdf->SetXY(0, $l * 10); $pdf->SetXY(0, $l * 10);
$label = (string) $pdf->_FPDF_round(($l * 10 - $this->t_marg) * $this->scale + $this->y_min); $label = (string) sprintf('%.0f', ($l * 10 - $this->t_marg) * $this->scale + $this->y_min);
$pdf->Cell(5, 5, ' ' . $label); $pdf->Cell(5, 5, ' ' . $label);
} // end if } // end if
} // end for } // end for
@@ -742,7 +742,7 @@ class PMA_RT
for ($j = 0; $j < 30 ;$j++) { for ($j = 0; $j < 30 ;$j++) {
$pdf->line($j * 10, 0, $j * 10, 210); $pdf->line($j * 10, 0, $j * 10, 210);
$pdf->SetXY($j * 10, 0); $pdf->SetXY($j * 10, 0);
$label = (string) $pdf->_FPDF_round(($j * 10 - $this->l_marg) * $this->scale + $this->x_min); $label = (string) sprintf('%.0f', ($j * 10 - $this->l_marg) * $this->scale + $this->x_min);
$pdf->Cell(5, 7, $label); $pdf->Cell(5, 7, $label);
} // end for } // end for
} // end of the "PMA_RT_strokeGrid()" method } // end of the "PMA_RT_strokeGrid()" method