was too strict
authorPierre Habouzit (MadCoder <pierre.habouzit@m4x.org>
Wed, 29 Dec 2004 18:23:11 +0000 (18:23 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:27:02 +0000 (23:27 +0200)
git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-180

include/contacts.pdf.inc.php

index 9a2342c..38352d8 100644 (file)
@@ -252,7 +252,7 @@ class ContactsPDF extends FPDF
                 } else {
                     $this->setX($_x);
                     $this->Cell($width, 20, '', "T");
-                    $h = ( $this->GetStringWidth($nom) + $width > 90 ) ? 10 : 20;
+                    $h = ( $this->GetStringWidth($nom) + $width > 85 ) ? 10 : 20;
                     $this->MultiCell(0, $h, $nom, 'T', 'C');
                     $ok = true;
                 }