Commit ca445e8a authored by mbriand's avatar mbriand
Browse files

Génération des plannings de la semaine

parent 588d1678
......@@ -70,7 +70,7 @@ class pdfplanning_news extends FPDF
$this->SetXY($this->xmargin, $this->ymargin);
$this->Cell($this->w-($this->xmargin*2), $this->ymargin, utf8_decode($title), 0, 0, "C");
$this->SetFont('Arial','',10);
$this->SetFont('Arial','',8);
}
function add_day($day, $textes)
......@@ -82,7 +82,7 @@ class pdfplanning_news extends FPDF
{
$max_w = 0;
foreach($textes as $texte)
$max_w = max($max_w, $this->GetStringWidth($texte));
$max_w = max($max_w, $this->GetStringWidth(utf8_decode($texte)));
$w = $max_w;
$x = ($this->w - $max_w) / 2;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment