From d6781666dff386e0be093804ce5cd982fa6c971c Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 22 Oct 2007 16:41:54 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20on=20ne=20pouvait=20pas=20=E9crire=20en?= =?UTF-8?q?=20petit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/includes/fpdf/fpdf/fpdf.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/includes/fpdf/fpdf/fpdf.php b/htdocs/includes/fpdf/fpdf/fpdf.php index 1a693dc867c..f5ce321e90f 100644 --- a/htdocs/includes/fpdf/fpdf/fpdf.php +++ b/htdocs/includes/fpdf/fpdf/fpdf.php @@ -2232,7 +2232,7 @@ function _out($s) if (isset($attr['face']) and in_array(strtolower($attr['face']), $this->fontlist)) { $this->SetFont(strtolower($attr['face'])); - //$this->issetfont=true; //créait un problème de police dans le pdf + $this->issetfont=true; //créait un problème de police dans le pdf } if (isset($attr['size'])) { $headsize = intval($attr['size']); @@ -2241,7 +2241,7 @@ function _out($s) } $currentFontSize = $this->FontSize; $this->tempfontsize = $this->FontSizePt; - $this->SetFontSize($this->FontSizePt + $headsize); + $this->SetFontSize($this->FontSizePt + $headsize - 3); // Todo: correction pour xx-small $this->lasth = $this->FontSize * K_CELL_HEIGHT_RATIO; break; }