From f3d40e41a353d3ffb029cc0b0c44ea12ed38e3c6 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 22 Oct 2007 17:47:56 +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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/includes/fpdf/fpdf/fpdf.php b/htdocs/includes/fpdf/fpdf/fpdf.php index f5ce321e90f..ac02e15ca0e 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; } if (isset($attr['size'])) { $headsize = intval($attr['size']); @@ -2241,6 +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;