From 67c6e005354d64a6dd393804182519b0843db593 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Tue, 8 Jan 2008 20:16:14 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20fckeditor=20utilise=20les=20span=20pour?= =?UTF-8?q?=20g=E9rer=20les=20polices=20de=20caract=E8res?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/includes/fpdf/fpdf/fpdf.php | 52 +++++++++++++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/htdocs/includes/fpdf/fpdf/fpdf.php b/htdocs/includes/fpdf/fpdf/fpdf.php index 377a30aa708..62793d6a2bb 100644 --- a/htdocs/includes/fpdf/fpdf/fpdf.php +++ b/htdocs/includes/fpdf/fpdf/fpdf.php @@ -241,6 +241,16 @@ function FPDF($orientation='P',$unit='mm',$format='A4') $this->TextColor='0 g'; $this->ColorFlag=false; $this->ws=0; + + //Correspondance des tailles html en point + $this->xxsmall = 6.9; + $this->xsmall = 8.3; + $this->small = 10; + $this->medium = 12; + $this->large = 14.4; + $this->xlarge = 17.28; + $this->xxlarge = 20.7; + //Standard fonts $this->CoreFonts=array('courier'=>'Courier','courierB'=>'Courier-Bold','courierI'=>'Courier-Oblique','courierBI'=>'Courier-BoldOblique', 'helvetica'=>'Helvetica','helveticaB'=>'Helvetica-Bold','helveticaI'=>'Helvetica-Oblique','helveticaBI'=>'Helvetica-BoldOblique', @@ -1905,7 +1915,7 @@ function _out($s) function writeHTML($html, $ln=true, $fill=0) { // store some variables - $html=strip_tags($html,"