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,"