$texte="Née le :"; } else { $texte="Né le :"; } $texte.=formate_date($lig1->naissance)." à : "; if($ele_lieu_naissance=='y') { $texte.=get_commune($lig1->lieu_naissance, 2); } $pdf->Cell($pdf->GetStringWidth($texte),$pdf->FontSize*$sc_interligne, $texte,0,0,'L'); $pdf->SetFont('DejaVu','B',$fs_txt); //$texte="ACADÉMIE DE ".strtoupper($fb_academie); $texte="ACADÉMIE DE ".casse_mot($fb_academie); $x=$l_page-$marge-$pdf->GetStringWidth($texte); $pdf->setXY($x,$pdf->GetY()); $pdf->Cell($pdf->GetStringWidth($texte),$pdf->FontSize*$sc_interligne, $texte,0,1,'R'); // Il n'y a pas le département sur le modèle Lille //$pdf->SetXY($marge,$pdf->GetY()+$pdf->FontSize*$r_interligne); //$pdf->Cell($larg_acad,$pdf->FontSize*$sc_interligne, "Département: $fb_departement",0,2,''); //================================================ // TABLEAU ADRESSE ETAB $y=$pdf->GetY(); $pdf->SetFont('DejaVu','',$fs_txt); // Cadre $pdf->Cell($l_page-2*$marge,3*$pdf->FontSize*$sc_interligne, '','LRBT',1,''); $y2=$pdf->GetY(); $y_etab=$y+$pdf->FontSize*$sc_interligne;